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.

Use the metric bar colours on the Backups page

rcourtman826a36a72427
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 0928d69d04..6e358dd7fc 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -20,6 +20,16 @@
## Purpose
+### Backups bars use the metric bar colours (2 November 2026)
+
+The Backup health rows (`ProxmoxBackupsCoverageStrip`) and the Backup jobs
+chart (`ProxmoxBackupJobsCard`) fill their bars with `bg-metric-normal-bg`,
+`bg-metric-warning-bg` and `bg-metric-critical-bg`, the tokens every
+`getMetricColorClass` bar uses. They had used Tailwind emerald, amber and red
+at their own opacities, so the Backups page green visibly differed from the
+Overview CPU, memory and disk bars. Status dots and count pills keep their
+own colours; only bar fills moved.
+
### Drawer History keeps live readings when no chart can be drawn (2 November 2026)
When the first history read fails, or the selected range is beyond the plan,
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index c6c5c5a5ad..c8c6a47249 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -5092,6 +5092,13 @@ datastore; a storeless partial read or failed task-history run still yields
the fuller fix, but older runs of a configured job would then need to defer to
its latest result.
+### Backup health and jobs bars match the rest of Pulse (2 November 2026)
+
+The Backup health bars and the Backup jobs chart now fill with the same green,
+amber and red as the Overview CPU, memory and disk bars. They had their own
+shades, so the Backups page looked inconsistent beside every other page. What
+each bar counts is unchanged.
+
### Backup servers rows are named by their datastore (2 November 2026)
The Backup servers table keeps one row per datastore, but each row is now
diff --git a/frontend-modern/browser-verification/b3b64deb7dbb8de7.json b/frontend-modern/browser-verification/b3b64deb7dbb8de7.json
new file mode 100644
index 0000000000..b569788ed1
--- /dev/null
+++ b/frontend-modern/browser-verification/b3b64deb7dbb8de7.json
@@ -0,0 +1,37 @@
+{
+ "version": 1,
+ "base_sha": "4a1b33ed04866f9ecb9eab6fee5a0a42ca9b7570",
+ "verified_at": "2026-11-02T22:12:00Z",
+ "result": "passed",
+ "changed_paths": [
+ "frontend-modern/src/features/proxmox/ProxmoxBackupJobsCard.tsx",
+ "frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx"
+ ],
+ "content_sha256": {
+ "frontend-modern/src/features/proxmox/ProxmoxBackupJobsCard.tsx": "c0affcbac1aea8cd2d4e7e427c795a22603688ccb40b422010a3298c01316cfd",
+ "frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx": "6ae7626ce43896d092cde772ed57350d771cc3c828a7a5467c6f4b3441cf4e9d"
+ },
+ "routes": [
+ "/proxmox/backups/date",
+ "/proxmox/overview"
+ ],
+ "viewports": [
+ {
+ "width": 1440,
+ "height": 1000
+ },
+ {
+ "width": 375,
+ "height": 812
+ }
+ ],
+ "states": [
+ "mock mode built from this branch on pulse-dev, dark theme",
+ "Backup health rows in protected, attention, unprotected and unknown tones; Backup jobs chart with ok and failed segments"
+ ],
+ "interactions": [
+ "read computed backgrounds on Proxmox > Overview: node CPU, memory and disk bar fills are rgba(34, 197, 94, 0.6)",
+ "read computed backgrounds on Proxmox > Backups: the Protected bar and the Backup jobs ok segments are now rgba(34, 197, 94, 0.6), warning bars rgba(234, 179, 8, 0.6), critical bars rgba(239, 68, 68, 0.6), matching Overview; before this change they were emerald-500 at 80% and solid emerald-500",
+ "at 375x812 the same fills apply with no horizontal page overflow"
+ ]
+}
diff --git a/frontend-modern/src/features/proxmox/ProxmoxBackupJobsCard.tsx b/frontend-modern/src/features/proxmox/ProxmoxBackupJobsCard.tsx
index a3a81792a0..7c4f14f417 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxBackupJobsCard.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxBackupJobsCard.tsx
@@ -34,13 +34,13 @@ const OUTCOMES: readonly {
key: 'failed',
label: 'failed',
pill: 'bg-red-100 text-red-700 dark:bg-red-900/40 dark:text-red-300',
- segment: 'bg-red-500',
+ segment: 'bg-metric-critical-bg',
},
{
key: 'warning',
label: 'warnings',
pill: 'bg-amber-100 text-amber-800 dark:bg-amber-900/40 dark:text-amber-300',
- segment: 'bg-amber-500',
+ segment: 'bg-metric-warning-bg',
},
{
key: 'running',
@@ -58,7 +58,7 @@ const OUTCOMES: readonly {
key: 'success',
label: 'ok',
pill: 'bg-emerald-100 text-emerald-700 dark:bg-emerald-900/40 dark:text-emerald-300',
- segment: 'bg-emerald-500',
+ segment: 'bg-metric-normal-bg',
},
];
diff --git a/frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx b/frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx
index f97f9e6348..84d7d17c2f 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsx
@@ -42,16 +42,18 @@ type RowTone = BackupExceptionTone | 'protected';
const PILL_BASE =
'inline-flex min-w-8 justify-center items-center rounded-md px-1.5 py-0.5 text-[11px] font-semibold tabular-nums';
+// Bar fills use the metric bar colours every other Pulse bar uses, so the
+// same green means the same thing on every page.
const ROW_TONE: Record<RowTone, { dot: string; pill: string; fill: string }> = {
unprotected: {
dot: 'bg-red-500',
pill: 'bg-red-100 text-red-700 dark:bg-red-900/40 dark:text-red-300',
- fill: 'bg-red-500/80',
+ fill: 'bg-metric-critical-bg',
},
attention: {
dot: 'bg-amber-500',
pill: 'bg-amber-100 text-amber-800 dark:bg-amber-900/40 dark:text-amber-300',
- fill: 'bg-amber-500/80',
+ fill: 'bg-metric-warning-bg',
},
unknown: {
dot: 'bg-slate-400',
@@ -61,7 +63,7 @@ const ROW_TONE: Record<RowTone, { dot: string; pill: string; fill: string }> = {
protected: {
dot: 'bg-emerald-500',
pill: 'bg-emerald-100 text-emerald-700 dark:bg-emerald-900/40 dark:text-emerald-300',
- fill: 'bg-emerald-500/80',
+ fill: 'bg-metric-normal-bg',
},
};
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
index 9de59f5d4b..d777343958 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
@@ -935,6 +935,8 @@ describe('ProxmoxBackupsTable', () => {
name: '1 backup source reported a failure',
});
expect(group).toHaveAttribute('aria-pressed', 'false');
+ // Health bars fill with the metric bar colours every other Pulse bar uses.
+ expect(group.querySelector('.progress-fill')).toHaveClass('bg-metric-warning-bg');
await fireEvent.click(group);
await waitFor(() => {