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): restore standard summary density
rcourtman021295c8b585
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex fa326a9deb..41281611cf 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -773,6 +773,11 @@ must stay on the canonical shared subtabs control instead of reviving arecovery-local switcher pattern. When recovery embeds that switcher inside thepage-controls row, the contained styling should come from the shared subtabsvariant boundary rather than from recovery-only class overrides.+That same shared-boundary rule applies to summary density. The shared compact+mode on `SummaryPanel.tsx` and `SummaryMetricCard.tsx` exists for genuinely+dense monitoring surfaces, but pages that are trying to align with the normal+Pulse monitoring scan path should stay on the default shared density instead of+using page-local compact overrides by habit.That same recovery shell boundary now also owns one canonical top-level filtercontroller in`frontend-modern/src/features/recovery/useRecoverySurfaceState.ts`. Route-backeddiff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.mdindex 71d54c723a..df2a6f1c75 100644--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md@@ -751,6 +751,11 @@ That same workspace rule also means the protected-items versus recovery-eventsswitcher should live inside the active workspace header strip, not in its ownseparate band above the cards, so the page hands off from summary directly intothe active control surface the way infrastructure and workloads do.+That same handoff should keep recovery on the standard Pulse summary density.+`RecoverySummary.tsx` should use the shared default `SummaryPanel` /+`SummaryMetricCard` rhythm that infrastructure and workloads use, instead of+opting into a recovery-only compact density that makes the top strip harder to+scan than the rest of the monitoring product.That same shell rule applies to the recovery-events workspace.`RecoveryHistorySection.tsx` should use the same slim status-row-plus-filter-rowpattern as the protected inventory surface, not a separate large titled headerdiff --git a/frontend-modern/src/components/Recovery/RecoverySummary.test.tsx b/frontend-modern/src/components/Recovery/RecoverySummary.test.tsxindex c700909397..e9d1ab5a93 100644--- a/frontend-modern/src/components/Recovery/RecoverySummary.test.tsx+++ b/frontend-modern/src/components/Recovery/RecoverySummary.test.tsx@@ -78,8 +78,8 @@ describe('RecoverySummary', () => {expect(screen.queryByText('protected items')).not.toBeInTheDocument();});- it('uses the shared compact summary density mode rather than local card padding forks', () => {- expect(recoverySummarySource).toContain('density="compact"');+ it('uses the shared default summary density rather than a recovery-only compact override', () => {+ expect(recoverySummarySource).not.toContain('density="compact"');expect(recoverySummarySource).not.toContain('!p-1.5 sm:!p-2');});});diff --git a/frontend-modern/src/components/Recovery/RecoverySummary.tsx b/frontend-modern/src/components/Recovery/RecoverySummary.tsxindex 9f52277a64..a1e99fd7b5 100644--- a/frontend-modern/src/components/Recovery/RecoverySummary.tsx+++ b/frontend-modern/src/components/Recovery/RecoverySummary.tsx@@ -142,9 +142,8 @@ export const RecoverySummary: Component<RecoverySummaryProps> = (props) => {timeRangeLabels={RECOVERY_SUMMARY_TIME_RANGE_LABELS}testId="recovery-summary"class="overflow-hidden"- density="compact">- <SummaryMetricCard label="Recovery Posture" loaded={true} hasData={hasRollups()} density="compact">+ <SummaryMetricCard label="Recovery Posture" loaded={true} hasData={hasRollups()}><div class="flex h-full flex-col gap-2"><div class="flex items-end justify-between gap-3"><div>@@ -164,7 +163,7 @@ export const RecoverySummary: Component<RecoverySummaryProps> = (props) => {</div></SummaryMetricCard>- <SummaryMetricCard label="Freshness" loaded={true} hasData={hasRollups()} density="compact">+ <SummaryMetricCard label="Freshness" loaded={true} hasData={hasRollups()}><div class="flex h-full flex-col gap-2"><div class="flex items-end justify-between gap-3"><div>@@ -186,7 +185,7 @@ export const RecoverySummary: Component<RecoverySummaryProps> = (props) => {</div></SummaryMetricCard>- <SummaryMetricCard label="Protected Footprint" loaded={true} hasData={hasRollups()} density="compact">+ <SummaryMetricCard label="Protected Footprint" loaded={true} hasData={hasRollups()}><div class="flex h-full flex-col gap-2"><div class="grid grid-cols-2 gap-3"><div>@@ -234,7 +233,6 @@ export const RecoverySummary: Component<RecoverySummaryProps> = (props) => {loaded={props.seriesLoaded()}hasData={activity().hasData}emptyMessage={props.seriesFailed?.() ? 'Trend data unavailable' : 'No recovery activity yet'}- density="compact"><div class="flex h-full flex-col gap-2"><div class="flex items-end justify-between gap-3">