feat: flatten log explorer to workload resources and add pod filters - #151
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refactored the Log Explorer sidebar to display one level of Workload Resources under each Namespace instead of deep pod and container nesting. In the Logs View, added Select components to filter by Pod and Container (defaulting to "All"). Updated the Recent Logs store to deduplicate entries by Workload.
Changes
AppSidebarLogsMenu.vue):text-deployment,text-job, etc.).LogsView.vue):Selectcontrols in the Controls Bar to switch between Pods and Containers, defaulting to "All".logsStore.ts,useLogSelection.ts):addRecentLogdeduplication to prevent duplicate entries when switching pods/containers for the same workload.useLogSelection.tsto cleanly fall back to "All" when switching workloads.Files Changed
src/components/layout/sidebar/AppSidebarLogsMenu.vuesrc/composables/useLogSelection.tssrc/stores/logsStore.tssrc/views/LogsView.vueTesting
npm run type-check: Zero type errors (vue-tsc --build).npm run lint: Zero lint errors (eslint).npm run build: Production build succeeded.Related Artifacts
.agents/PRPs/reports/log-explorer-workloads-report.md.agents/PRPs/plans/completed/log-explorer-workloads.plan.md