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.

Update header audit for platform-shaped IA

rcourtman58a24eeb77bc
diff --git a/frontend-modern/scripts/header-audit.mjs b/frontend-modern/scripts/header-audit.mjs
index 9ffbf8fef0..f0be09a534 100644
--- a/frontend-modern/scripts/header-audit.mjs
+++ b/frontend-modern/scripts/header-audit.mjs
@@ -6,13 +6,9 @@ const ROOT = process.cwd();
const REQUIRED_PAGE_HEADERS = new Map([
['src/pages/AIIntelligence.tsx', 'PageHeader'],
- ['src/pages/Ceph.tsx', 'PageHeader'],
- ['src/pages/Infrastructure.tsx', 'PageHeader'],
['src/pages/NotFound.tsx', 'PageHeader'],
['src/pages/PricingHandoff.tsx', 'PageHeader'],
- ['src/pages/Recovery.tsx', 'PageHeader'],
['src/components/Settings/Settings.tsx', 'PageHeader'],
- ['src/pages/Workloads.tsx', 'PageHeader'],
]);
const REQUIRED_OPERATIONS_WRAPPERS = new Map([
@@ -30,7 +26,15 @@ const NON_VISUAL_PAGE_WRAPPERS = new Set([
const SETTINGS_PANEL_SHIMS = new Set([]);
-const HEADER_PRIMITIVES = ['PageHeader', 'SectionHeader', 'SettingsPanel', 'OperationsPanel'];
+const HEADER_PRIMITIVES = [
+ 'PageHeader',
+ 'SectionHeader',
+ 'SettingsPanel',
+ 'OperationsPanel',
+ // Platform-shaped top-level pages (Proxmox/Docker/Kubernetes/TrueNAS/Vmware/Standalone)
+ // use PlatformSectionTabs as their canonical post-rc.6 chrome rather than PageHeader.
+ 'PlatformSectionTabs',
+];
function readFileSafe(relPath) {
const absPath = path.join(ROOT, relPath);