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): slim the events workspace shell
rcourtman6e98d3e90da2
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.mdindex 2fca9d5a39..10115192b6 100644--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md@@ -667,6 +667,12 @@ already establish the active workspace. `RecoveryProtectedInventorySection.tsx`should keep page/count/sort orientation inside a slim table-shell status rowand let the filter strip lead directly into the grid instead of reintroducing asecond large inventory header card above the same table.+That same shell rule applies to the recovery-events workspace.+`RecoveryHistorySection.tsx` should use the same slim status-row-plus-filter-row+pattern as the protected inventory surface, not a separate large titled header+bar plus another full toolbar slab. Event filter labels should also stay on the+canonical short Pulse vocabulary like `Platform` and `Status` instead of+recovery-only variants such as `History platform` or `History status`.That shared unified-resource dependency now also includes policy-governedresource metadata on the frontend decode path: storage and recovery surfacesthat route through `frontend-modern/src/hooks/useUnifiedResources.ts` mustdiff --git a/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsx b/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsxindex ca4a127df3..1aa4686ea8 100644--- a/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsx+++ b/frontend-modern/src/components/Recovery/RecoveryHistorySection.tsx@@ -128,12 +128,29 @@ export const RecoveryHistorySection: Component<RecoveryHistorySectionProps> = (p});return (- <Card padding="none" tone="card" class="mb-4 overflow-hidden">- <div class="border-b border-border bg-surface-hover px-3 py-2 text-[11px] font-semibold uppercase tracking-wide text-muted">- Recovery Events+ <Card padding="none" tone="card" class="overflow-hidden border-border-subtle bg-surface">+ <div class="border-b border-border-subtle/80 bg-surface px-4 py-2.5">+ <div class="flex flex-col gap-2 lg:flex-row lg:items-center lg:justify-between">+ <div class="flex flex-wrap items-center gap-3 text-[11px] text-muted">+ <span class="font-medium text-base-content">Recovery Events</span>+ <span>+ {props.recoveryPoints.meta().total} event+ {props.recoveryPoints.meta().total === 1 ? '' : 's'}+ </span>+ <span>+ Page {props.currentPage()} / {props.totalPages()}+ </span>+ <Show when={props.groupedByDay().length > 0}>+ <span>+ {props.groupedByDay().length} day group+ {props.groupedByDay().length === 1 ? '' : 's'}+ </span>+ </Show>+ </div>+ </div></div><Show when={!props.kioskMode}>- <div class="border-b border-border px-3 py-3">+ <div class="border-b border-border-subtle/80 bg-surface px-4 py-3"><PageControlssearch={<SearchInput@@ -144,6 +161,7 @@ export const RecoveryHistorySection: Component<RecoveryHistorySectionProps> = (p}}placeholder={getRecoveryHistorySearchPlaceholder()}class="w-full"+ inputClass="py-2 text-sm"clearOnEscapehistory={{storageKey: STORAGE_KEYS.RECOVERY_SEARCH_HISTORY,@@ -371,7 +389,7 @@ export const RecoveryHistorySection: Component<RecoveryHistorySectionProps> = (p<LabeledFilterSelectid="recovery-platform-filter-history"- label="History platform"+ label="Platform"value={props.platformFilter()}onChange={(event) => {props.setPlatformFilter(@@ -392,7 +410,7 @@ export const RecoveryHistorySection: Component<RecoveryHistorySectionProps> = (p<LabeledFilterSelectid="recovery-status-filter"- label="History status"+ label="Status"value={props.historyOutcomeFilter()}onChange={(event) => {const value = event.currentTarget.value as 'all' | RecoveryOutcome;diff --git a/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx b/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsxindex b402aba012..b188156685 100644--- a/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx+++ b/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx@@ -597,7 +597,7 @@ describe('Recovery', () => {expect(screen.queryByText('All Providers')).not.toBeInTheDocument();fireEvent.click(screen.getByRole('tab', { name: /Recovery events/i }));- expect(await screen.findByLabelText('History platform')).toBeInTheDocument();+ expect(await screen.findByLabelText('Platform')).toBeInTheDocument();expect(screen.queryByText('All Providers')).not.toBeInTheDocument();});