From 513e31126e4838d4972a5d77c848be4bee03f2df Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Mon, 2 Jun 2025 18:48:08 +0100 Subject: [PATCH] feat: redesign backup health card with clearer statistics and improved layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Make health score more prominent with larger font and context - Replace confusing guest counts with clear total backup count - Add recent coverage metric showing guests with backups in last 7 days - Reorganize backup type statistics with clear labeling - Add coverage ratio showing protected vs unprotected guests - Improve visual hierarchy and information density 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/public/js/ui/backup-detail-card.js | 46 +++++++++++++++++++------- 1 file changed, 34 insertions(+), 12 deletions(-) diff --git a/src/public/js/ui/backup-detail-card.js b/src/public/js/ui/backup-detail-card.js index 753cd06f2..8a121df08 100644 --- a/src/public/js/ui/backup-detail-card.js +++ b/src/public/js/ui/backup-detail-card.js @@ -147,9 +147,12 @@ PulseApp.ui.backupDetailCard = (() => {
-
+

Backup Health

- ${healthScore}% +
+
${healthScore}%
+
${stats.totalGuests - totalIssues}/${stats.totalGuests} healthy
+
@@ -230,18 +233,37 @@ PulseApp.ui.backupDetailCard = (() => {
-
-
-
${stats.pbsCount || 0}
-
PBS
+
+ +
+
+
${stats.totalBackups || 0}
+
Total Backups
+
+
+
${guestsByAge.good.length + guestsByAge.ok.length}
+
Recent Coverage
+
-
-
${stats.pveCount || 0}
-
PVE
+ + +
+
+ Backup Types: +
+ ${stats.pbsCount > 0 ? `${stats.pbsCount} PBS` : ''} + ${stats.pveCount > 0 ? `${stats.pveCount} PVE` : ''} + ${stats.snapshotCount > 0 ? `${stats.snapshotCount} Snap` : ''} +
+
-
-
${stats.snapshotCount || 0}
-
Snapshots
+ + +
+
+ Coverage: + ${stats.totalGuests - guestsByAge.none.length}/${stats.totalGuests} guests protected +