Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

refactor(recovery): tighten summary to workspace handoff

rcourtman2ad3f5f46b8e
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index b3324dd093..536e01aac6 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -710,6 +710,10 @@ That same summary rule also applies within individual cards: recovery posture,
freshness, attention, footprint, and history cards should favor compact rows
and metric lists over stacked prose callouts so the summary strip reads like
Pulse monitoring telemetry rather than a page-local narrative panel.
+That same orientation-first rule also applies at the page-shell boundary:
+recovery should hand straight from the summary strip into the active workspace
+card without an extra page-local spacer band that makes the shell feel softer
+than storage or workloads.
That same card-level scan rule should prefer one dominant metric per card with
short supporting readouts, the same quick-scan rhythm operators already get on
infrastructure and workloads, instead of nested sub-cards that turn recovery
diff --git a/frontend-modern/src/components/Recovery/Recovery.tsx b/frontend-modern/src/components/Recovery/Recovery.tsx
index d0b1586a8c..c43d466786 100644
--- a/frontend-modern/src/components/Recovery/Recovery.tsx
+++ b/frontend-modern/src/components/Recovery/Recovery.tsx
@@ -544,7 +544,7 @@ const Recovery: Component = () => {
);
return (
- <div data-testid="recovery-page" class="flex flex-col gap-3">
+ <div data-testid="recovery-page" class="flex flex-col gap-2">
<RecoverySummary
rollups={rollups}
series={() => recoverySeries.series() || []}
@@ -554,7 +554,7 @@ const Recovery: Component = () => {
timeRange={summaryRange}
/>
- <div ref={historySectionRef} class="flex flex-col gap-3">
+ <div ref={historySectionRef} class="flex flex-col">
{(() => {
return (
<>
diff --git a/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx b/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx
index 596db96996..d8e7c043e3 100644
--- a/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx
+++ b/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx
@@ -202,6 +202,8 @@ describe('Recovery', () => {
it('shows one primary recovery table at a time with unified recovery labels', async () => {
render(() => <Recovery />);
+ expect(screen.getByTestId('recovery-page').className).toContain('gap-2');
+ expect(screen.getByTestId('recovery-page').className).not.toContain('gap-3');
expect(await screen.findByTestId('recovery-summary')).toBeInTheDocument();
expect(screen.getByText('Recovery Posture')).toBeInTheDocument();
const workspaceTablist = await screen.findByRole('tablist', { name: /recovery data view/i });