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 reporting and dashboard helper boundaries

rcourtmanc3902d22d024
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 560099d1d3..f4924e3f57 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -86,6 +86,11 @@ work extends shared components instead of creating new local variants.
58. `frontend-modern/src/features/operations/OperationsPageSurface.tsx`
59. `frontend-modern/src/features/operations/operationsPageModel.ts`
60. `frontend-modern/src/pages/Operations.tsx`
+61. `frontend-modern/src/components/Settings/ResourcePicker.tsx`
+62. `frontend-modern/src/components/Settings/reportingResourceTypes.ts`
+63. `frontend-modern/src/utils/reportableResourceTypes.ts`
+64. `frontend-modern/src/utils/reportingResourceTypes.ts`
+65. `frontend-modern/src/utils/problemResourcePresentation.ts`
61. `frontend-modern/src/pages/__tests__/Operations.helpers.test.ts`
59. `frontend-modern/src/components/Settings/NetworkDiscoverySection.tsx`
60. `frontend-modern/src/components/Settings/NetworkBoundarySettingsSection.tsx`
@@ -505,6 +510,10 @@ owns the dashboard-specific action, KPI, problem-resource, trend, and
customization surfaces. Lane-owned widgets like recent alerts, storage,
and recovery must continue to route through their own subsystem owners instead
of drifting back into a page-local dashboard panel cluster.
+`frontend-modern/src/utils/problemResourcePresentation.ts` now also belongs to
+that same dashboard overview boundary so the problem-resource severity contract
+stays shared with `ProblemResourcesTable.tsx` instead of floating as an
+unowned helper.
Feature-owned alert shells under `frontend-modern/src/features/alerts/` now
also treat shared action runtime as a first-class feature owner instead of
@@ -555,10 +564,18 @@ The reporting operations surface now follows the same shell-state-model rule.
operations-panel shell, while
`frontend-modern/src/components/Settings/useReportingPanelState.ts` owns the
license/trial lifecycle and report generation flow,
-`frontend-modern/src/components/Settings/reportingPanelModel.ts` owns the
-request/range/filename model, and `frontend-modern/src/utils/reportingPresentation.ts`
-owns the user-facing range/status copy. The shell must not re-accumulate
-license bootstrapping, inline report API requests, or blob-download plumbing.
+`frontend-modern/src/components/Settings/reportingPanelModel.ts` plus
+`frontend-modern/src/utils/reportingResourceTypes.ts` own the
+request/range/filename model and reporting-type API mapping,
+`frontend-modern/src/components/Settings/ResourcePicker.tsx` plus
+`frontend-modern/src/utils/reportableResourceTypes.ts` own the reportable
+resource selection, filter, sort, and empty-state contract, and
+`frontend-modern/src/utils/reportingPresentation.ts` owns the user-facing
+range/status copy. The compatibility re-export in
+`frontend-modern/src/components/Settings/reportingResourceTypes.ts` stays part
+of that same reporting boundary. The shell must not re-accumulate license
+bootstrapping, inline report API requests, blob-download plumbing, or local
+resource-type filter and reporting-token maps.
General settings segmented selectors for theme preference and temperature unit
must now also route through the shared `FilterButtonGroup` primitive instead of
diff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.json
index b3e2323e80..2e756e1f2e 100644
--- a/docs/release-control/v6/internal/subsystems/registry.json
+++ b/docs/release-control/v6/internal/subsystems/registry.json
@@ -2141,6 +2141,8 @@
"frontend-modern/src/components/Settings/RecoverySettingsPanel.tsx",
"frontend-modern/src/components/Settings/ReportingPanel.tsx",
"frontend-modern/src/components/Settings/reportingPanelModel.ts",
+ "frontend-modern/src/components/Settings/reportingResourceTypes.ts",
+ "frontend-modern/src/components/Settings/ResourcePicker.tsx",
"frontend-modern/src/components/Settings/SecurityAuthPanel.tsx",
"frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx",
"frontend-modern/src/components/Settings/Settings.tsx",
@@ -2189,7 +2191,10 @@
"frontend-modern/src/utils/aiSettingsPresentation.ts",
"frontend-modern/src/utils/diagnosticsPresentation.ts",
"frontend-modern/src/utils/discoveryPresentation.ts",
+ "frontend-modern/src/utils/problemResourcePresentation.ts",
+ "frontend-modern/src/utils/reportableResourceTypes.ts",
"frontend-modern/src/utils/reportingPresentation.ts",
+ "frontend-modern/src/utils/reportingResourceTypes.ts",
"frontend-modern/src/utils/settingsShellPresentation.ts",
"frontend-modern/src/utils/ssoProviderPresentation.ts",
"frontend-modern/src/utils/systemLogsPresentation.ts",
@@ -2299,24 +2304,32 @@
"match_files": [
"frontend-modern/src/components/Settings/ReportingPanel.tsx",
"frontend-modern/src/components/Settings/reportingPanelModel.ts",
+ "frontend-modern/src/components/Settings/reportingResourceTypes.ts",
+ "frontend-modern/src/components/Settings/ResourcePicker.tsx",
"frontend-modern/src/components/Settings/SystemLogsPanel.tsx",
"frontend-modern/src/components/Settings/useReportingPanelState.ts",
"frontend-modern/src/components/Settings/useSystemLogsPanelState.ts",
"frontend-modern/src/features/operations/operationsPageModel.ts",
"frontend-modern/src/features/operations/OperationsPageSurface.tsx",
"frontend-modern/src/pages/Operations.tsx",
- "frontend-modern/src/utils/reportingPresentation.ts"
+ "frontend-modern/src/utils/reportableResourceTypes.ts",
+ "frontend-modern/src/utils/reportingPresentation.ts",
+ "frontend-modern/src/utils/reportingResourceTypes.ts"
],
"allow_same_subsystem_tests": false,
"test_prefixes": [],
"exact_files": [
"frontend-modern/src/__tests__/App.architecture.test.ts",
"frontend-modern/src/components/Settings/__tests__/reportingPanelModel.test.ts",
+ "frontend-modern/src/components/Settings/__tests__/reportingResourceTypes.test.ts",
+ "frontend-modern/src/components/Settings/__tests__/ResourcePicker.test.tsx",
"frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",
"frontend-modern/src/components/Settings/__tests__/SystemLogsPanel.test.tsx",
"frontend-modern/src/pages/__tests__/Operations.helpers.test.ts",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
- "frontend-modern/src/utils/__tests__/reportingPresentation.test.ts"
+ "frontend-modern/src/utils/__tests__/reportableResourceTypes.test.ts",
+ "frontend-modern/src/utils/__tests__/reportingPresentation.test.ts",
+ "frontend-modern/src/utils/__tests__/reportingResourceTypes.test.ts"
]
},
{
@@ -2420,7 +2433,8 @@
"frontend-modern/src/features/dashboardOverview/index.ts",
"frontend-modern/src/features/dashboardOverview/KPIStrip.tsx",
"frontend-modern/src/features/dashboardOverview/ProblemResourcesTable.tsx",
- "frontend-modern/src/features/dashboardOverview/TrendCharts.tsx"
+ "frontend-modern/src/features/dashboardOverview/TrendCharts.tsx",
+ "frontend-modern/src/utils/problemResourcePresentation.ts"
],
"allow_same_subsystem_tests": false,
"test_prefixes": [],
@@ -2430,6 +2444,7 @@
"frontend-modern/src/features/dashboardOverview/__tests__/TrendCharts.test.tsx",
"frontend-modern/src/pages/__tests__/DashboardPage.test.tsx",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/problemResourcePresentation.test.ts",
"frontend-modern/src/utils/__tests__/typeColumnPresentation.test.ts"
]
},
diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.py
index 1b6142e20a..ef9b7d7f27 100644
--- a/scripts/release_control/subsystem_lookup_test.py
+++ b/scripts/release_control/subsystem_lookup_test.py
@@ -728,6 +728,7 @@ class SubsystemLookupTest(unittest.TestCase):
"frontend-modern/src/features/dashboardOverview/__tests__/TrendCharts.test.tsx",
"frontend-modern/src/pages/__tests__/DashboardPage.test.tsx",
"frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts",
+ "frontend-modern/src/utils/__tests__/problemResourcePresentation.test.ts",
"frontend-modern/src/utils/__tests__/typeColumnPresentation.test.ts",
],
)