admin: fold dashboard sparklines into the existing cards (de-dup) (#9964)

admin: fold dashboard sparklines into the existing cards

The trend sparklines added in #9957 lived in a separate "Cluster Trends"
row that duplicated the existing summary cards (Volumes, Files, Disk Used,
EC Shards). Remove that row and instead render each sparkline inside the
matching summary card, so every headline number shows its recent trend
without duplication. The two maintenance metrics that have no existing
card — Active Tasks and Workers — now fill the previously-empty columns of
the EC row (also with sparklines).

DashboardTrends changes from a Cards slice to named per-card sparkline
SVGs (+ current values for the two maintenance cards). Drops the now-unused
trendBytes helper (disk size keeps using the existing formatBytes).
This commit is contained in:
Chris Lu authored and GitHub committed 2026-06-14 14:17:43 -07:00
1 parent b13463880c
commit d47cc45b1f
3 files changed
+450 -472

No files matched your search

File diff suppressed because it is too large. Load diff