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
refactor(recovery): simplify summary card scan
rcourtman42606c3c7e41
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.mdindex df2a6f1c75..71f57bcd23 100644--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md@@ -686,6 +686,9 @@ stale, and footprint telemetry in multiple stacked readouts inside one card.Recovery summary cards should keep one dominant metric with one short supportband so the strip scans at the same speed as infrastructure and workloadsinstead of behaving like a recovery-only executive summary.+That support band should stay genuinely short, usually two or three compact+rows rather than four-item micro reports, so the operator can scan the summary+as orientation instead of reading each card like a dense checklist.That same summary-card rule should also avoid inline distribution bars ordashboard-style subvisualizations inside the cards when the same signal can beexpressed as short metric rows. Recovery summary cards should stay on thediff --git a/frontend-modern/src/components/Recovery/RecoverySummary.test.tsx b/frontend-modern/src/components/Recovery/RecoverySummary.test.tsxindex e9d1ab5a93..9cd4f277c8 100644--- a/frontend-modern/src/components/Recovery/RecoverySummary.test.tsx+++ b/frontend-modern/src/components/Recovery/RecoverySummary.test.tsx@@ -67,15 +67,17 @@ describe('RecoverySummary', () => {expect(screen.getByText('Healthy')).toBeInTheDocument();expect(screen.getByText('Failed')).toBeInTheDocument();expect(screen.getByText('<24h')).toBeInTheDocument();- expect(screen.getByText('<7d')).toBeInTheDocument();+ expect(screen.getByText('>7d')).toBeInTheDocument();expect(screen.getByText('fresh in 24h')).toBeInTheDocument();expect(screen.getByText('stale items')).toBeInTheDocument();- expect(screen.getByText('Peak Throughput')).toBeInTheDocument();expect(screen.getByText('Latest Activity')).toBeInTheDocument();expect(screen.getByText('2 protected')).toBeInTheDocument();expect(screen.getAllByText(/Never Succeeded/i).length).toBeGreaterThan(0);expect(screen.getByText('need attention')).toBeInTheDocument();expect(screen.queryByText('protected items')).not.toBeInTheDocument();+ expect(screen.queryByText('Running')).not.toBeInTheDocument();+ expect(screen.queryByText('<7d')).not.toBeInTheDocument();+ expect(screen.queryByText('Peak Throughput')).not.toBeInTheDocument();});it('uses the shared default summary density rather than a recovery-only compact override', () => {diff --git a/frontend-modern/src/components/Recovery/RecoverySummary.tsx b/frontend-modern/src/components/Recovery/RecoverySummary.tsxindex a1e99fd7b5..745c8c676c 100644--- a/frontend-modern/src/components/Recovery/RecoverySummary.tsx+++ b/frontend-modern/src/components/Recovery/RecoverySummary.tsx@@ -78,24 +78,12 @@ export const RecoverySummary: Component<RecoverySummaryProps> = (props) => {value: postureSummary().failed + postureSummary().neverSucceeded,valueClass: 'text-rose-600 dark:text-rose-400',},- {- label: 'Running',- value: postureSummary().running,- valueClass: 'text-blue-600 dark:text-blue-400',- },]);const freshnessRows = createMemo(() => [{label: '<24h',value: freshnessBuckets().find((bucket) => bucket.key === 'under24h')?.count ?? 0,},- {- label: '<7d',- value:- (freshnessBuckets().find((bucket) => bucket.key === 'under1h')?.count ?? 0) +- (freshnessBuckets().find((bucket) => bucket.key === 'under24h')?.count ?? 0) +- (freshnessBuckets().find((bucket) => bucket.key === 'under7d')?.count ?? 0),- },{label: '>7d',value: freshnessBuckets().find((bucket) => bucket.key === 'over7d')?.count ?? 0,@@ -254,7 +242,6 @@ export const RecoverySummary: Component<RecoverySummaryProps> = (props) => {rows={[{ label: 'Days Active', value: activity().activeDays },{ label: 'Peak Day', value: activity().busiestLabel ?? 'n/a' },- { label: 'Peak Throughput', value: activity().busiestCount },{ label: 'Latest Activity', value: activity().latestLabel ?? 'n/a' },]}/>