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 drawer host detail summary
rcourtmancc5954ecd963
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex 3b35d0da91..ac63113369 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -498,6 +498,8 @@ read side by side on wider screens instead of as a single full-width stack.Host details uses that same flex-wrap pattern inside the disclosure for thesystem, hardware, storage, and network cards, so the drawer matches theshared workload-card density instead of stretching those cards one per row.+The collapsed `Host details` summary now names the available categories only,+instead of exposing internal card counts in the disclosure label.When `Service details` is expanded, each service card remains summary-first andpushes heavier breakdowns or update controls behind one more service-localreveal, so the opened state still scans as current state before deeperdiff --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 4ad000f24b..53de7dbb57 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@@ -214,9 +214,7 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {));expect(getByText('Host details')).toBeInTheDocument();- expect(- getByText('4 detail cards covering system, hardware, network, and disks.'),- ).toBeInTheDocument();+ expect(getByText('System, Hardware, Network, and Disks')).toBeInTheDocument();expect(queryByText('Hardware')).toBeNull();expect(queryByText('Network')).toBeNull();diff --git a/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerOperationalModel.test.ts b/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerOperationalModel.test.tsindex 9f0b7a7c1d..f26690710a 100644--- a/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerOperationalModel.test.ts+++ b/frontend-modern/src/components/Infrastructure/__tests__/resourceDetailDrawerOperationalModel.test.ts@@ -116,7 +116,7 @@ describe('resourceDetailDrawerOperationalModel', () => {'temperatures',]);expect(buildHostDetailSummary(cards)).toBe(- '8 detail cards covering system, hardware, storage, network, disks, and temperatures.',+ 'System, Hardware, Storage, Network, Disks, and Temperatures',);expect(hasRuntimeOperationalContext([], [])).toBe(false);});diff --git a/frontend-modern/src/components/Infrastructure/resourceDetailDrawerOperationalModel.ts b/frontend-modern/src/components/Infrastructure/resourceDetailDrawerOperationalModel.tsindex 9fbdd7b5df..4e7a8f2cae 100644--- a/frontend-modern/src/components/Infrastructure/resourceDetailDrawerOperationalModel.ts+++ b/frontend-modern/src/components/Infrastructure/resourceDetailDrawerOperationalModel.ts@@ -155,15 +155,25 @@ export const buildHostDetailCards = (options: {export const buildHostDetailSummary = (hostDetailCards: string[]): string | null => {const labels = Array.from(new Set(hostDetailCards));if (labels.length === 0) return null;+ const presentation: Record<string, string> = {+ system: 'System',+ hardware: 'Hardware',+ storage: 'Storage',+ network: 'Network',+ disks: 'Disks',+ raid: 'RAID',+ temperatures: 'Temperatures',+ };+ const displayLabels = labels.map((label) => presentation[label] ?? label);const categories =- labels.length === 1- ? labels[0]- : labels.length === 2- ? `${labels[0]} and ${labels[1]}`- : `${labels.slice(0, -1).join(', ')}, and ${labels[labels.length - 1]}`;+ displayLabels.length === 1+ ? displayLabels[0]+ : displayLabels.length === 2+ ? `${displayLabels[0]} and ${displayLabels[1]}`+ : `${displayLabels.slice(0, -1).join(', ')}, and ${displayLabels[displayLabels.length - 1]}`;- return `${hostDetailCards.length} detail card${hostDetailCards.length === 1 ? '' : 's'} covering ${categories}.`;+ return categories;};export const buildRelatedLinks = (