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
Simplify resource drawer history ownership
rcourtmane0a871a3859c
diff --git a/docs/release-control/control_plane.json b/docs/release-control/control_plane.jsonindex 3e93519140..528cced168 100644--- a/docs/release-control/control_plane.json+++ b/docs/release-control/control_plane.json@@ -39,7 +39,7 @@"profile_id": "v6","kind": "stabilization","status": "active",- "summary": "Keep Pulse v6 centered on the proven monitoring-and-alerting RC floor, using resource-change intelligence only where it materially improves investigation or safe AI flows while broader control-plane expansion stays out of the default target until it is proven.",+ "summary": "Keep Pulse v6 simple, accurate, and cleanly readable around the proven monitoring-and-alerting RC floor, using resource-change intelligence only where it materially improves investigation or safe AI flows while broader control-plane expansion stays out of the default target until it is proven.","completion_rule": "manual","proof_scope": "none"},diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex 8856fe7c4e..1fa23ce3ea 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -249,6 +249,9 @@ Inside that disclosure, learned dependency and correlation detail now sitsbehind its own reveal instead of rendering at full depth immediately, so theopened investigation surface still starts with compact health, change, andpolicy summaries before the user asks for relationship pattern detail.+Change-related summary badges now belong to the `Change history` section+instead of the `Runtime` card, so current-state facts and timeline context do+not compete for the same ownership on first read.The drawer header now stays focused on canonical identity and source/typebadges only, while workload/service drill-down links and Kubernetes platformsignals live with the runtime card, so the top strip does not compete withdiff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsxindex 00274f1ba3..db6eadea51 100644--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx@@ -441,18 +441,12 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {const historyTimeline = createMemo(() => historyFacetBundle()?.recentChanges ?? resourceTimeline(),);- const historyFacetCounts = createMemo(- () => historyFacetBundle()?.counts ?? resourceFacetCounts(),- );const hasTimelineFilters = createMemo(() =>Boolean(timelineKindFilter() || timelineSourceTypeFilter() || timelineSourceAdapterFilter()),);const resourceTimelineCount = createMemo(() => resourceFacetCounts()?.recentChanges ?? resourceTimeline().length,);- const historyTimelineCount = createMemo(- () => historyFacetCounts()?.recentChanges ?? historyTimeline().length,- );const sortedResourceTimeline = createMemo(() =>[...historyTimeline()].sort((left, right) => {const leftTime = Date.parse(left.observedAt || '');@@ -829,15 +823,6 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {</span></div></Show>- <Show when={resourceTimelineCount() > 0}>- <div class="flex flex-col gap-1">- <span class="text-muted">Recent activity</span>- <ResourceFacetSummary- recentChanges={resourceTimeline()}- counts={resourceFacetCounts()}- />- </div>- </Show><div class="flex items-center justify-between gap-2"><span class="text-muted">Mode</span><span class="font-medium text-base-content">@@ -1587,6 +1572,15 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {<div class="mt-1 text-[10px] text-muted">Filterable event history for this resource.</div>+ <Show when={resourceTimelineCount() > 0}>+ <div class="mt-2 flex flex-col gap-1">+ <span class="text-[10px] text-muted">Recent activity</span>+ <ResourceFacetSummary+ recentChanges={resourceTimeline()}+ counts={resourceFacetCounts()}+ />+ </div>+ </Show></div><div class="text-right text-[10px] text-muted"><div>@@ -1686,13 +1680,6 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {</div></Show>- <div class="mt-3 flex flex-wrap gap-2">- <div class="rounded border border-border bg-surface-hover px-2 py-1.5">- <div class="text-[10px] text-muted">Events</div>- <div class="text-sm font-semibold text-base-content">{historyTimelineCount()}</div>- </div>- </div>-<div class="mt-3 rounded border border-border bg-surface p-3"><div class="text-[11px] font-medium uppercase tracking-wide text-base-content mb-2">Event logdiff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsxindex 775c3305c6..b992b30d39 100644--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx@@ -184,10 +184,11 @@ describe('ResourceDetailDrawer change history section', () => {));await screen.findByText('Changes loaded');+ const changeHistorySection = screen.getByTestId('resource-change-history-section');expect(screen.queryByRole('button', { name: 'Discovery' })).toBeNull();expect(screen.getByText('Change history')).toBeInTheDocument();- expect(screen.getByText('Recent activity')).toBeInTheDocument();- expect(screen.getByText('Events')).toBeInTheDocument();+ expect(within(changeHistorySection).getByText('Recent activity')).toBeInTheDocument();+ expect(screen.queryByText('Events')).toBeNull();expect(screen.getAllByText('Timeline 3')).toHaveLength(1);expect(screen.getAllByText('Restart 2')).toHaveLength(1);expect(screen.getAllByText('Anomaly 1')).toHaveLength(1);@@ -298,7 +299,7 @@ describe('ResourceDetailDrawer change history section', () => {const panel = within(historyPanel);expect(await panel.findByText('Changes loaded')).toBeInTheDocument();expect(panel.getByText('Routine restart requested')).toBeInTheDocument();- expect(panel.getByText('Events')).toBeInTheDocument();+ expect(panel.getByText('Recent activity')).toBeInTheDocument();expect(panel.getByText('Event log')).toBeInTheDocument();expect(panel.getByRole('link', { name: 'Open related resource PVE Node 1 in Infrastructure' }),