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.

Govern dashboard metric presentation helper

rcourtman8766a9ac571b
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 6d3415ca97..0df1bbc59f 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -265,11 +265,13 @@ owned hook/model layers that feed it.
That same dashboard boundary now also owns the shared dashboard presentation
helpers through `frontend-modern/src/utils/dashboardEmptyStatePresentation.ts`,
`frontend-modern/src/utils/dashboardGuestPresentation.ts`,
-`frontend-modern/src/utils/dashboardKpiPresentation.ts`, and
+`frontend-modern/src/utils/dashboardKpiPresentation.ts`,
+`frontend-modern/src/utils/dashboardMetricPresentation.ts`, and
`frontend-modern/src/utils/dashboardTrendPresentation.ts`. Dashboard loading,
disconnect, and empty states; guest backup/disk fallback copy; KPI card
-framing; and trend palette/error copy must extend those helpers instead of
-being redefined inline in route shells, guest rows, or overview cards.
+framing; status-badge, delta, percent, and action-priority formatting; and
+trend palette/error copy must extend those helpers instead of being redefined
+inline in route shells, guest rows, or overview cards.
That shell must also stay passive with respect to data ownership: dashboard
trend cards may render the summary-range controls and operator-facing empty or
error copy, but they must not reintroduce route-local metrics-history fetch
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index eb8a365723..18cb083715 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -2371,6 +2371,7 @@
"frontend-modern/src/utils/dashboardEmptyStatePresentation.ts",
"frontend-modern/src/utils/dashboardGuestPresentation.ts",
"frontend-modern/src/utils/dashboardKpiPresentation.ts",
+ "frontend-modern/src/utils/dashboardMetricPresentation.ts",
"frontend-modern/src/utils/dashboardTrendPresentation.ts",
"frontend-modern/src/utils/diagnosticsPresentation.ts",
"frontend-modern/src/utils/discoveryPresentation.ts",
@@ -2545,6 +2546,7 @@
"frontend-modern/src/utils/dashboardEmptyStatePresentation.ts",
"frontend-modern/src/utils/dashboardGuestPresentation.ts",
"frontend-modern/src/utils/dashboardKpiPresentation.ts",
+ "frontend-modern/src/utils/dashboardMetricPresentation.ts",
"frontend-modern/src/utils/dashboardTrendPresentation.ts"
],
"allow_same_subsystem_tests": false,
@@ -2554,6 +2556,7 @@
"frontend-modern/src/utils/__tests__/dashboardEmptyStatePresentation.test.ts",
"frontend-modern/src/utils/__tests__/dashboardGuestPresentation.test.ts",
"frontend-modern/src/utils/__tests__/dashboardKpiPresentation.test.ts",
+ "frontend-modern/src/utils/__tests__/dashboardMetricPresentation.test.ts",
"frontend-modern/src/utils/__tests__/dashboardTrendPresentation.test.ts"
]
},