Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Sync change history summary with filters
rcourtman2d8bfd557554
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex 8d3455c5ff..9a2b4ddf5e 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -297,6 +297,9 @@ operational context appears.The `Change history` filter controls now stack vertically instead of using apaired filter grid, so the timeline reads like a simple inspection surfacerather than a two-field form on wider screens.+When filters are active, the filtered facet bundle drives both the summary+chips and the event log, so the header and the list stay aligned instead of+showing stale unfiltered counts above filtered results.Those support surfaces still use the same title-plus-summary header andexplicit reveal control without extra explanatory chrome, so the drawer signalssecondary depth through one governed structure instead of repeating prose aboutdiff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsxindex 3f757e5b2f..5708ff89bc 100644--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx@@ -515,14 +515,20 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {const historyFacetBundle = createMemo(() =>timelineFacetRequest() ? (timelineFacets() ?? resourceFacets()) : resourceFacets(),);- const historyTimeline = createMemo(+ const historyFacetCounts = createMemo(+ () => historyFacetBundle()?.counts ?? resourceFacetCounts() ?? null,+ );+ const historyRecentChanges = createMemo(() => historyFacetBundle()?.recentChanges ?? resourceTimeline(),);+ const historyTimeline = createMemo(+ () => historyRecentChanges(),+ );const hasTimelineFilters = createMemo(() =>Boolean(timelineKindFilter() || timelineSourceTypeFilter() || timelineSourceAdapterFilter()),);const resourceTimelineCount = createMemo(- () => resourceFacetCounts()?.recentChanges ?? resourceTimeline().length,+ () => historyFacetCounts()?.recentChanges ?? historyRecentChanges().length,);const sortedResourceTimeline = createMemo(() =>[...historyTimeline()].sort((left, right) => {@@ -1147,8 +1153,8 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {<Show when={resourceTimelineCount() > 0}><div class="mt-1"><ResourceFacetSummary- recentChanges={resourceTimeline()}- counts={resourceFacetCounts()}+ recentChanges={historyRecentChanges()}+ counts={historyFacetCounts()}/></div></Show>diff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsxindex 1e425e827c..f28c227749 100644--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx@@ -655,6 +655,8 @@ describe('ResourceDetailDrawer change history section', () => {});expect(await panel.findByText('Filtered changes loaded')).toBeInTheDocument();+ expect(await panel.findByText('Timeline 1')).toBeInTheDocument();+ expect(panel.queryByText('Timeline 2')).toBeNull();expect(await panel.findByText('Routine restart requested')).toBeInTheDocument();expect(panel.queryByText('CPU spike detected')).toBeNull();});@@ -797,6 +799,8 @@ describe('ResourceDetailDrawer change history section', () => {});expect(await panel.findByText('Filtered changes loaded')).toBeInTheDocument();+ expect(await panel.findByText('Timeline 1')).toBeInTheDocument();+ expect(panel.queryByText('Timeline 2')).toBeNull();expect(await panel.findByText('CPU spike detected')).toBeInTheDocument();expect(panel.queryByText('Routine restart requested')).toBeNull();});