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
Prioritize drawer change history layout
rcourtman44a58a183f41
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex 745864fd19..b5bcef20cd 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -463,6 +463,10 @@ The overview keeps access, host, service, and investigation detail ascollapsed sibling disclosures under the primary card pair, so the drawer keepsthe top-level shape to current-state/identity plus `Change history` before anysecondary operational context appears.+That secondary hierarchy now renders in two layers: a full-width `Change+history` surface first, followed by a separate support-disclosure grid for+access, host, service, and context, so timeline inspection stays visually+primary instead of competing with the support cards for equal width.Inside `Change history`, the event list now renders directly in the parentsection instead of inside a second bordered `Event log` card, so the timelinereads like one inspection surface rather than a card nested under its owndiff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsxindex fcef199081..729da05a4a 100644--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsx+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsx@@ -262,11 +262,11 @@ export const ResourceDetailDrawerOverviewTab: Component<ResourceDetailDrawerOver<divdata-testid="resource-secondary-sections"- class="flex flex-wrap gap-3 [&>*]:flex-1 [&>*]:basis-[calc(50%-0.375rem)] [&>*]:min-w-[260px] [&>*]:max-w-full [&>*]:overflow-hidden"+ class="space-y-3"><divdata-testid="resource-change-history-section"- class="h-full rounded border border-border bg-surface p-3 shadow-sm"+ class="w-full rounded border border-border bg-surface p-3 shadow-sm"><div class="flex items-center justify-between gap-3"><div>@@ -507,6 +507,19 @@ export const ResourceDetailDrawerOverviewTab: Component<ResourceDetailDrawerOver</Show></div>+ <Show+ when={+ drawer.hasServiceDetails() ||+ drawer.hasHostDetails() ||+ drawer.hasAccessContext() ||+ drawer.hasInvestigationContext()+ }+ >+ <div+ data-testid="resource-support-sections"+ class="flex flex-wrap gap-3 [&>*]:flex-1 [&>*]:basis-[calc(50%-0.375rem)] [&>*]:min-w-[260px] [&>*]:max-w-full [&>*]:overflow-hidden"+ >+<Show when={drawer.hasServiceDetails()}><SupportDisclosuretitle="Service"@@ -1140,6 +1153,8 @@ export const ResourceDetailDrawerOverviewTab: Component<ResourceDetailDrawerOver</Show></SupportDisclosure></Show>+ </div>+ </Show></div></div>);diff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsxindex 1978d7574f..115494eb6a 100644--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx@@ -302,8 +302,11 @@ describe('ResourceDetailDrawer change history section', () => {expect(screen.getByText('Current state')).toBeInTheDocument();expect(screen.queryByText('Runtime')).toBeNull();expect(screen.getByText('Change history')).toBeInTheDocument();- expect(screen.getByTestId('resource-secondary-sections').classList.contains('flex')).toBe(true);- expect(screen.getByTestId('resource-secondary-sections').classList.contains('flex-wrap')).toBe(+ expect(screen.getByTestId('resource-secondary-sections').classList.contains('space-y-3')).toBe(+ true,+ );+ expect(screen.getByTestId('resource-support-sections').classList.contains('flex')).toBe(true);+ expect(screen.getByTestId('resource-support-sections').classList.contains('flex-wrap')).toBe(true,);expect(diff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsxindex ff1b819de2..0715bdca80 100644--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsx+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsx@@ -228,9 +228,12 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {await waitFor(() => {expect(getByText('Hardware')).toBeInTheDocument();});- expect(getByTestId('resource-secondary-sections').classList.contains('flex')).toBe(true);+ expect(getByTestId('resource-secondary-sections').classList.contains('space-y-3')).toBe(true);expect(- getByTestId('resource-secondary-sections').classList.contains('flex-wrap'),+ getByTestId('resource-support-sections').classList.contains('flex'),+ ).toBe(true);+ expect(+ getByTestId('resource-support-sections').classList.contains('flex-wrap'),).toBe(true);expect(getByTestId('resource-host-details-section').querySelector('.mt-3.flex.flex-wrap')).toBeTruthy();expect(