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): tighten summary strip density
rcourtman54ca76539564
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.mdindex 1f82da0582..480281bb59 100644--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md@@ -654,6 +654,10 @@ recovery-specific mini report. Recovery summary cards should prefer concisecounts, bars, and badge-backed coverage cues over tall explanatory copy blocksso the protected-item table takes over the page at roughly the same visualdensity as the infrastructure and workloads monitoring surfaces.+That same summary rule also applies to the panel header: the top-line summary+count strip should stay terse and avoid repeating the full posture telemetry+already rendered inside the cards, so the header acts as orientation rather+than a second miniature dashboard row.That same summary layout should also stay on the shared monitoring rhythm:recovery should use the standard four-card `SummaryPanel` grid without lettingone oversized posture card dominate the full strip, so operators can scandiff --git a/frontend-modern/src/components/Recovery/RecoverySummary.test.tsx b/frontend-modern/src/components/Recovery/RecoverySummary.test.tsxindex 91d6550fd5..f4c6dd18b3 100644--- a/frontend-modern/src/components/Recovery/RecoverySummary.test.tsx+++ b/frontend-modern/src/components/Recovery/RecoverySummary.test.tsx@@ -66,7 +66,7 @@ describe('RecoverySummary', () => {expect(screen.getByText('Platform Mix')).toBeInTheDocument();expect(screen.getByText('Avg / Day')).toBeInTheDocument();expect(screen.getByText('2 protected')).toBeInTheDocument();- expect(screen.getByText('1 healthy')).toBeInTheDocument();+ expect(screen.getByText('1 attention')).toBeInTheDocument();expect(screen.getAllByText('Never succeeded').length).toBeGreaterThan(0);});});diff --git a/frontend-modern/src/components/Recovery/RecoverySummary.tsx b/frontend-modern/src/components/Recovery/RecoverySummary.tsxindex 6251cb419b..7f6e909f4f 100644--- a/frontend-modern/src/components/Recovery/RecoverySummary.tsx+++ b/frontend-modern/src/components/Recovery/RecoverySummary.tsx@@ -83,14 +83,16 @@ export const RecoverySummary: Component<RecoverySummaryProps> = (props) => {<span class="font-medium text-base-content">{summary().total} protected</span>- <span class="text-emerald-600 dark:text-emerald-400">- {healthyCount()} healthy- </span><Show when={attentionCount() > 0}><span class="text-amber-600 dark:text-amber-400">{attentionCount()} attention</span></Show>+ <Show when={attentionCount() === 0}>+ <span class="text-emerald-600 dark:text-emerald-400">+ {healthyCount()} healthy+ </span>+ </Show><Show when={postureSummary().running > 0}><span class="text-blue-600 dark:text-blue-400">{postureSummary().running} running@@ -106,23 +108,23 @@ export const RecoverySummary: Component<RecoverySummaryProps> = (props) => {class="overflow-hidden"><SummaryMetricCard label="Recovery Posture" loaded={true} hasData={hasRollups()}>- <div class="flex h-full flex-col gap-2.5">- <div class="grid grid-cols-3 gap-2 text-sm">- <div>- <div class="text-[11px] uppercase tracking-wide text-muted">Healthy</div>- <div class="mt-1 text-lg font-semibold text-emerald-600 dark:text-emerald-400">+ <div class="flex h-full flex-col gap-2">+ <div class="grid grid-cols-3 gap-2 text-[11px]">+ <div class="rounded-md border border-border-subtle bg-surface-alt/25 px-2 py-1.5">+ <div class="uppercase tracking-wide text-muted">Healthy</div>+ <div class="mt-1 font-semibold text-emerald-600 dark:text-emerald-400">{healthyCount()}</div></div>- <div>- <div class="text-[11px] uppercase tracking-wide text-muted">Attention</div>- <div class="mt-1 text-lg font-semibold text-amber-600 dark:text-amber-400">+ <div class="rounded-md border border-border-subtle bg-surface-alt/25 px-2 py-1.5">+ <div class="uppercase tracking-wide text-muted">Attention</div>+ <div class="mt-1 font-semibold text-amber-600 dark:text-amber-400">{attentionCount()}</div></div>- <div>- <div class="text-[11px] uppercase tracking-wide text-muted">Protected</div>- <div class="mt-1 text-lg font-semibold text-base-content">{summary().total}</div>+ <div class="rounded-md border border-border-subtle bg-surface-alt/25 px-2 py-1.5">+ <div class="uppercase tracking-wide text-muted">Protected</div>+ <div class="mt-1 font-semibold text-base-content">{summary().total}</div></div></div>@@ -160,31 +162,31 @@ export const RecoverySummary: Component<RecoverySummaryProps> = (props) => {</SummaryMetricCard><SummaryMetricCard label="Freshness" loaded={true} hasData={hasRollups()}>- <div class="flex h-full flex-col gap-2.5">- <div class="grid grid-cols-2 gap-2">- <div class="rounded-md border border-border-subtle bg-surface-alt/35 px-2.5 py-2">- <div class="text-[10px] uppercase tracking-wide text-muted">Stale</div>- <div class="mt-1 text-lg font-semibold text-amber-600 dark:text-amber-400">+ <div class="flex h-full flex-col gap-2">+ <div class="grid grid-cols-2 gap-x-3 gap-y-1.5 text-xs">+ <div class="flex items-center justify-between gap-2 border-b border-border-subtle pb-1.5">+ <span class="uppercase tracking-wide text-muted">Stale</span>+ <span class="font-semibold text-amber-600 dark:text-amber-400">{summary().stale}- </div>+ </span></div>- <div class="rounded-md border border-border-subtle bg-surface-alt/35 px-2.5 py-2">- <div class="text-[10px] uppercase tracking-wide text-muted">Never succeeded</div>- <div class="mt-1 text-lg font-semibold text-rose-600 dark:text-rose-400">+ <div class="flex items-center justify-between gap-2 border-b border-border-subtle pb-1.5">+ <span class="uppercase tracking-wide text-muted">Never succeeded</span>+ <span class="font-semibold text-rose-600 dark:text-rose-400">{summary().neverSucceeded}- </div>+ </span></div>- <div class="rounded-md border border-border-subtle bg-surface-alt/35 px-2.5 py-2">- <div class="text-[10px] uppercase tracking-wide text-muted">Running</div>- <div class="mt-1 text-lg font-semibold text-blue-600 dark:text-blue-400">+ <div class="flex items-center justify-between gap-2">+ <span class="uppercase tracking-wide text-muted">Running</span>+ <span class="font-semibold text-blue-600 dark:text-blue-400">{postureSummary().running}- </div>+ </span></div>- <div class="rounded-md border border-border-subtle bg-surface-alt/35 px-2.5 py-2">- <div class="text-[10px] uppercase tracking-wide text-muted">Attention</div>- <div class="mt-1 text-lg font-semibold text-amber-600 dark:text-amber-400">+ <div class="flex items-center justify-between gap-2">+ <span class="uppercase tracking-wide text-muted">Attention</span>+ <span class="font-semibold text-amber-600 dark:text-amber-400">{attentionCount()}- </div>+ </span></div></div>