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 PMG detail accordions
rcourtman61c9f9b1a258
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex 05220e0336..86c4834da9 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -307,6 +307,9 @@ first read stays on mail-flow state instead of cluster metadata.That support context also owns PMG freshness metadata now, so `Updated` doesnot compete with queue and mail breakdown entries inside the mail-detailaccordion.+Those PMG queue and mail-detail accordions render as simple key/value rows+without entry-count badges or multi-column mini-dashboard layout, so the opened+state stays readable and scan-first.The Docker service card now follows the same rule: its opened state usescompact labels (`Docker runtime`, `Updates`, `Checked`, `Show actions`,`Check now`, `Update all`) and short queued/confirm feedback so actiondiff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsxindex 3e361f218b..c3f4741e6d 100644--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx@@ -1505,39 +1505,37 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {</div></Show><details class="rounded border border-rose-200 bg-surface px-2 py-1.5 dark:border-rose-700">- <summary class="flex cursor-pointer list-none items-center justify-between text-[10px] font-medium text-muted">- <span>Queue detail</span>- <span class="text-muted">{pmgVisibleQueueBreakdown().length}</span>+ <summary class="cursor-pointer list-none text-[10px] font-medium text-muted">+ Queue detail</summary>- <div class="mt-2 grid grid-cols-2 gap-x-3 gap-y-1 border-t border-rose-200 pt-2 text-[10px] dark:border-rose-700">+ <div class="mt-2 space-y-1.5 border-t border-rose-200 pt-2 text-[10px] dark:border-rose-700"><For each={pmgVisibleQueueBreakdown()}>{(entry) => (- <span class="text-muted">- {entry.label}:{' '}+ <div class="flex items-center justify-between gap-2 text-muted">+ <span>{entry.label}</span><spanclass={`font-medium ${entry.warn ? 'text-amber-600 dark:text-amber-400' : 'text-base-content'}`}>{formatInteger(entry.value)}</span>- </span>+ </div>)}</For></div></details><details class="rounded border border-rose-200 bg-surface px-2 py-1.5 dark:border-rose-700">- <summary class="flex cursor-pointer list-none items-center justify-between text-[10px] font-medium text-muted">- <span>Mail detail</span>- <span class="text-muted">{pmgVisibleMailBreakdown().length}</span>+ <summary class="cursor-pointer list-none text-[10px] font-medium text-muted">+ Mail detail</summary>- <div class="mt-2 grid grid-cols-3 gap-x-3 gap-y-1 border-t border-rose-200 pt-2 text-[10px] dark:border-rose-700">+ <div class="mt-2 space-y-1.5 border-t border-rose-200 pt-2 text-[10px] dark:border-rose-700"><For each={pmgVisibleMailBreakdown()}>{(entry) => (- <span class="text-muted">- {entry.label}:{' '}+ <div class="flex items-center justify-between gap-2 text-muted">+ <span>{entry.label}</span><span class="font-medium text-base-content">{formatInteger(entry.value)}</span>- </span>+ </div>)}</For></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 e8991571b2..8d6664dd9e 100644--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx@@ -424,8 +424,8 @@ describe('ResourceDetailDrawer change history section', () => {const supportContext = within(screen.getByTestId('pmg-support-context'));expect(supportContext.getByText('Nodes')).toBeInTheDocument();expect(supportContext.getByText('Updated')).toBeInTheDocument();- expect(screen.getByText('Queue detail')).toBeInTheDocument();- expect(screen.getByText('Mail detail')).toBeInTheDocument();+ expect(screen.getByText('Queue detail').closest('summary')?.textContent).toBe('Queue detail');+ expect(screen.getByText('Mail detail').closest('summary')?.textContent).toBe('Mail detail');});it('filters timeline entries by kind and source type', async () => {diff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.service-cards.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.service-cards.test.tsxindex 8847972c1c..68409448be 100644--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.service-cards.test.tsx+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.service-cards.test.tsx@@ -163,8 +163,8 @@ describe('ResourceDetailDrawer service cards', () => {const pmgSupportContext = within(getByTestId('pmg-support-context'));expect(pmgSupportContext.getByText('Nodes')).toBeInTheDocument();expect(pmgSupportContext.getByText('Updated')).toBeInTheDocument();- expect(getByText('Queue detail')).toBeInTheDocument();- expect(getByText('Mail detail')).toBeInTheDocument();+ expect(getByText('Queue detail').closest('summary')?.textContent).toBe('Queue detail');+ expect(getByText('Mail detail').closest('summary')?.textContent).toBe('Mail detail');expect(getByRole('link', { name: /open pmg thresholds/i })).toHaveAttribute('href','/alerts/thresholds/mail-gateway',