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.

Show that Backup health reason rows open Coverage

rcourtmanc4ca979594ca
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 8c7809e6ea..943203957f 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -537,6 +537,13 @@ desktop/narrow browser journeys cover the shared filter rail, keyboard/touch
day selection, metric switching, empty matches and recovery. No shared-filter,
route, navigation, access or backup operation changes.
+### Backup health reason rows carry a trailing chevron (2 November 2026)
+
+`ProxmoxBackupsCoverageStrip`'s row grid gains a last track for a lucide
+`ChevronRightIcon` on the reason rows that are buttons, flush right on desktop
+and phone, so a filtering row looks clickable without adding height. Rows that
+open nothing leave the track empty, so every row's columns still line up.
+
### Backups By date carries no activity chart (2 November 2026)
The restore points no longer render `BackupActivityChart`; the component and
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 4708476c73..ad357d841d 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -5066,6 +5066,18 @@ observed daily growth. The page owns the live alert store and passes a lookup
through `ProxmoxBackupsTable`'s `datastoreAlerts`, so the table renders without
an alerts provider and shows no forecast when none is given.
+### Backup health reason rows show they open Coverage (2 November 2026)
+
+Each Backup health reason row was already a button that filters Coverage to
+those workloads, but it read as a static statistic. `ProxmoxBackupsCoverageStrip`
+now ends each clickable row with a muted chevron that brightens on hover and
+turns blue while the filter is on, and the hover title reads "Show in Coverage:"
+before the name preview ("Clear this filter in Coverage" while pressed). The
+Protected row opens nothing and carries no chevron; an empty last grid track
+keeps its columns aligned. Rows stay 32px, the accessible names are unchanged,
+and the phone bar narrows from 5rem to 4rem to make room. Which workloads each
+reason selects is unchanged.
+
### Restore points drop the per-day chart (2 November 2026)
By date no longer draws "Completed restore points per day" (or its Volume
diff --git a/frontend-modern/browser-verification/fcfa67eb7058c2d5.json b/frontend-modern/browser-verification/fcfa67eb7058c2d5.json
new file mode 100644
index 0000000000..8a925eea4e
--- /dev/null
+++ b/frontend-modern/browser-verification/fcfa67eb7058c2d5.json
@@ -0,0 +1,39 @@
+{
+ "version": 1,
+ "base_sha": "ca15b00d32e2515dc3618338d3d267670f17cffa",
+ "verified_at": "2026-11-02T16:40:00Z",
+ "result": "passed",
+ "changed_paths": [
+ "frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx"
+ ],
+ "content_sha256": {
+ "frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx": "77e5a6b1ee5104427d9119b363ba500d459c49e2c68de75717d427bb88c3b9ae"
+ },
+ "routes": [
+ "/proxmox/backups/date",
+ "/proxmox/backups/coverage"
+ ],
+ "viewports": [
+ {
+ "width": 1440,
+ "height": 1000
+ },
+ {
+ "width": 375,
+ "height": 812
+ }
+ ],
+ "states": [
+ "private mock-mode backend built from this branch on pulse-dev",
+ "Backup health reason rows resting, hovered and pressed at desktop and phone",
+ "dark and light themes, desktop and phone layouts"
+ ],
+ "interactions": [
+ "built this branch and ran it in mock mode on pulse-dev, signed in and opened Proxmox > Backups > By date at 1440x1000 and 375x812 in dark and light themes",
+ "every Backup health reason row ends in a chevron whose right edge sits 13px inside the card at both widths; the Protected row has none and its columns stay aligned with the reason rows",
+ "every row measured 32px tall before and after a click; no horizontal page overflow at either width",
+ "hovered the first reason row on desktop: the row highlights and its title reads 'Show in Coverage:' followed by the workload names",
+ "clicked 'No successful backup': the page moved to /proxmox/backups/coverage?reason=no-backup, the row turned blue with a blue chevron, and its title switched to the pressed wording",
+ "on phone only 'Backup source reported a failure' truncates, with the full name in the tooltip"
+ ]
+}
diff --git a/frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx b/frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx
index ede482ddbb..f97f9e6348 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx
@@ -14,7 +14,8 @@ import type {
// Proxmox overview tables do: the protected count sits in the header strip,
// and each posture reason is one single-line row with a count pill and a bar
// for its share of rated targets. Each reason row toggles a Coverage filter
-// to exactly those workloads; the card owns no filter state itself.
+// to exactly those workloads, and a trailing chevron says the row opens
+// something; the card owns no filter state itself.
export interface CoverageStripProps {
title: string;
@@ -64,17 +65,21 @@ const ROW_TONE: Record<RowTone, { dot: string; pill: string; fill: string }> = {
},
};
+// The last track holds the clickable rows' chevron flush right; rows that
+// open nothing leave it empty so every row's columns still line up.
const ROW_GRID =
- 'grid w-full min-w-0 grid-cols-[0.5rem_minmax(0,1fr)_auto_5rem] items-center gap-x-3 px-3 text-xs sm:grid-cols-[0.5rem_minmax(0,16rem)_3rem_minmax(0,22rem)] sm:justify-start';
+ 'grid w-full min-w-0 grid-cols-[0.5rem_minmax(0,1fr)_auto_4rem_0.875rem] items-center gap-x-3 px-3 text-xs sm:grid-cols-[0.5rem_minmax(0,16rem)_3rem_minmax(0,22rem)_minmax(0.875rem,1fr)]';
const PREVIEW_NAMES = 5;
-// Names stay out of the row: a hover title previews them, and the filtered
-// Coverage table lists them all.
-const previewNames = (group: BackupExceptionGroup): string => {
+// Names stay out of the row: a hover title says what a click does and
+// previews them, and the filtered Coverage table lists them all.
+const previewNames = (group: BackupExceptionGroup, pressed: boolean): string => {
+ if (pressed) return 'Clear this filter in Coverage';
const names = group.rows.slice(0, PREVIEW_NAMES).map((row) => row.workload.label);
const more = group.rows.length - names.length;
- return more > 0 ? `${names.join(', ')} and ${more} more` : names.join(', ');
+ const listed = more > 0 ? `${names.join(', ')} and ${more} more` : names.join(', ');
+ return `Show in Coverage: ${listed}`;
};
const accessibleName = (group: BackupExceptionGroup): string =>
@@ -181,12 +186,12 @@ export const ProxmoxBackupsCoverageStrip: Component<CoverageStripProps> = (props
{(onSelect) => (
<button
type="button"
- class={`${ROW_GRID} h-8 hover:bg-surface-hover focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500 ${
+ class={`${ROW_GRID} group/reason h-8 hover:bg-surface-hover focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500 ${
pressed() ? 'bg-blue-50 dark:bg-blue-900/30' : ''
}`}
aria-pressed={pressed()}
aria-label={accessibleName(group)}
- title={previewNames(group)}
+ title={previewNames(group, pressed())}
onClick={() => onSelect()(group.key)}
>
<RowCells
@@ -195,6 +200,14 @@ export const ProxmoxBackupsCoverageStrip: Component<CoverageStripProps> = (props
count={group.rows.length}
total={rated()}
/>
+ <ChevronRightIcon
+ class={`h-3.5 w-3.5 justify-self-end ${
+ pressed()
+ ? 'text-blue-600 dark:text-blue-400'
+ : 'text-muted group-hover/reason:text-base-content'
+ }`}
+ aria-hidden="true"
+ />
</button>
)}
</Show>
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
index 8bcbffb914..5344039403 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
@@ -779,9 +779,12 @@ describe('ProxmoxBackupsTable', () => {
const exceptions = within(screen.getByRole('list', { name: 'Backups that are not protected' }));
const group = exceptions.getByRole('button', { name: '1 backup source reported a failure' });
expect(group).toHaveTextContent('Backup source reported a failure');
- // Names preview on hover; the filtered Coverage table lists them all.
- expect(group).toHaveAttribute('title', 'pbs-docker (LXC 112)');
+ // The hover title says where a click goes and previews the names; the
+ // filtered Coverage table lists them all.
+ expect(group).toHaveAttribute('title', 'Show in Coverage: pbs-docker (LXC 112)');
expect(group).not.toHaveTextContent('pbs-docker');
+ // A trailing chevron marks the row as one that opens something.
+ expect(group.querySelector('svg.lucide-chevron-right')).not.toBeNull();
// The old posture bar and per-posture counts are gone: the sentence is the answer.
expect(screen.queryByRole('button', { name: '1 attention' })).toBeNull();
});
@@ -936,6 +939,7 @@ describe('ProxmoxBackupsTable', () => {
expect(
exceptions.getByRole('button', { name: '1 backup source reported a failure' }),
).toHaveAttribute('aria-pressed', 'true');
+ expect(group).toHaveAttribute('title', 'Clear this filter in Coverage');
expect(screen.getAllByText('pbs-docker').length).toBeGreaterThan(0);
// Toggling off keeps the same focused control rather than rebuilding it.