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
Flatten discovery metadata panel
rcourtmane93de3325a87
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex df810e3b8c..bc0198e098 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -290,6 +290,9 @@ That discovery surface is now a compact support row with a one-line summary andan on-demand metadata panel, so the actionable web-interface path stays primarywhile deeper discovery inspection remains available without reading like asecond peer overview surface.+The discovery metadata panel now expands directly under the outer support+disclosure instead of nesting a second bordered card, so the support surface+reads as one flattened reveal instead of a card inside a card.The overview keeps host, service, investigation, and discovery detail ascollapsed sibling disclosures under the primary summary, so the drawer keepsthe top-level shape to `Summary` plus `Change history` before any secondarydiff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsxindex 655c1d0fe6..f53983d85c 100644--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx@@ -1968,7 +1968,7 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {showLabel="Show metadata"hideLabel="Hide metadata"class="rounded border border-dashed border-border bg-surface-hover p-3"- contentClass="mt-3 rounded border border-border bg-surface p-2.5"+ dataTestId="resource-discovery-context"><Suspensefallback={diff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsxindex 7171e9af10..3376d92b68 100644--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx@@ -224,6 +224,11 @@ describe('ResourceDetailDrawer change history section', () => {screen.queryByText('Supporting metadata only. The web interface path above stays primary.'),).toBeNull();expect(screen.getByRole('button', { name: 'Show metadata' })).toBeInTheDocument();+ expect(+ screen.getByTestId('resource-discovery-context').querySelector(+ '.mt-3.rounded.border.border-border.bg-surface.p-2\\.5',+ ),+ ).toBeNull();expect(screen.queryByText('Details')).toBeNull();expect(screen.queryByRole('button', { name: 'Show details' })).toBeNull();expect(screen.getByText('Platform ID')).toBeInTheDocument();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 57f0ecc516..d518cbdcd0 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@@ -137,9 +137,9 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {});it('keeps discovery as secondary overview context instead of a peer tab', async () => {- const { getByRole, getByText, queryByRole, queryByTestId, queryByText } = render(() => (- <ResourceDetailDrawer resource={baseResource({})} />- ));+ const { getByRole, getByText, getByTestId, queryByRole, queryByTestId, queryByText } = render(+ () => <ResourceDetailDrawer resource={baseResource({})} />,+ );expect(queryByRole('button', { name: 'Discovery' })).toBeNull();expect(getByText('Discovery context')).toBeInTheDocument();@@ -148,6 +148,11 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {queryByText('Supporting metadata only. The web interface path above stays primary.'),).toBeNull();expect(queryByTestId('discovery-tab')).toBeNull();+ expect(+ getByTestId('resource-discovery-context').querySelector(+ '.mt-3.rounded.border.border-border.bg-surface.p-2\\.5',+ ),+ ).toBeNull();expect(getByRole('button', { name: 'Show metadata' })).toBeInTheDocument();