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.

Fix v6 top-level page header composition

rcourtmanf9104115a5e8
diff --git a/frontend-modern/scripts/header-audit.mjs b/frontend-modern/scripts/header-audit.mjs
index 56d4167c34..36e14cba1a 100644
--- a/frontend-modern/scripts/header-audit.mjs
+++ b/frontend-modern/scripts/header-audit.mjs
@@ -9,7 +9,6 @@ const REQUIRED_PAGE_HEADERS = new Map([
['src/pages/Ceph.tsx', 'PageHeader'],
['src/pages/Dashboard.tsx', 'PageHeader'],
['src/pages/Infrastructure.tsx', 'PageHeader'],
- ['src/pages/Operations.tsx', 'PageHeader'],
['src/pages/NotFound.tsx', 'PageHeader'],
['src/pages/PricingHandoff.tsx', 'PageHeader'],
['src/components/Settings/Settings.tsx', 'PageHeader'],
@@ -24,6 +23,10 @@ const REQUIRED_OPERATIONS_WRAPPERS = new Map([
const NON_VISUAL_PAGE_WRAPPERS = new Set([
// Router wrapper; renders Recovery component and intentionally has no page chrome.
'src/pages/RecoveryRoute.tsx',
+ // Redirect shim into the canonical settings route and intentionally has no page chrome.
+ 'src/pages/Operations.tsx',
+ // Bootstrap route that only resolves the workspace destination before navigation.
+ 'src/pages/RuntimeHome.tsx',
]);
const SETTINGS_PANEL_SHIMS = new Set([]);
diff --git a/frontend-modern/src/components/Storage/Storage.tsx b/frontend-modern/src/components/Storage/Storage.tsx
index 6b96df14d2..6e65242dee 100644
--- a/frontend-modern/src/components/Storage/Storage.tsx
+++ b/frontend-modern/src/components/Storage/Storage.tsx
@@ -4,6 +4,7 @@ import StorageContentCard from '@/components/Storage/StorageContentCard';
import StoragePageBanners from '@/components/Storage/StoragePageBanners';
import StoragePageControls from '@/components/Storage/StoragePageControls';
import StoragePageSummary from '@/components/Storage/StoragePageSummary';
+import { PageHeader } from '@/components/shared/PageHeader';
import { StickySummarySection } from '@/components/shared/StickySummarySection';
import { isStorageRecordCeph } from './storagePageState';
import { useStoragePageModel } from './useStoragePageModel';
@@ -73,6 +74,11 @@ const Storage: Component = () => {
class="space-y-4"
data-testid="storage-page"
>
+ <PageHeader
+ title="Storage"
+ description="Review capacity, node health, pools, and storage pressure across connected clusters and devices."
+ />
+
<StickySummarySection desktopOnly={false}>
<StoragePageSummary
filteredRecords={filteredRecords}
diff --git a/frontend-modern/src/features/infrastructure/InfrastructurePageSurface.tsx b/frontend-modern/src/features/infrastructure/InfrastructurePageSurface.tsx
index 041566470f..dbc1a2165d 100644
--- a/frontend-modern/src/features/infrastructure/InfrastructurePageSurface.tsx
+++ b/frontend-modern/src/features/infrastructure/InfrastructurePageSurface.tsx
@@ -5,6 +5,7 @@ import { EmptyState } from '@/components/shared/EmptyState';
import { Card } from '@/components/shared/Card';
import { FilterSegmentedControl, LabeledFilterSelect } from '@/components/shared/FilterToolbar';
import { PageControls } from '@/components/shared/PageControls';
+import { PageHeader } from '@/components/shared/PageHeader';
import { SearchInput } from '@/components/shared/SearchInput';
import { StickySummarySection } from '@/components/shared/StickySummarySection';
import { UnifiedResourceTable } from '@/components/Infrastructure/UnifiedResourceTable';
@@ -86,6 +87,11 @@ export function InfrastructurePageSurface() {
data-testid="infrastructure-page"
class="space-y-4"
>
+ <PageHeader
+ title="Infrastructure"
+ description="Inspect connected resources, filter by source and status, and drill into live health and capacity."
+ />
+
<Show
when={!loading() || initialLoadComplete()}
fallback={
diff --git a/frontend-modern/src/pages/Ceph.tsx b/frontend-modern/src/pages/Ceph.tsx
index c661445097..f473873dfd 100644
--- a/frontend-modern/src/pages/Ceph.tsx
+++ b/frontend-modern/src/pages/Ceph.tsx
@@ -12,6 +12,7 @@ import {
TableCell,
} from '@/components/shared/Table';
import { EmptyState } from '@/components/shared/EmptyState';
+import { PageHeader } from '@/components/shared/PageHeader';
import { SearchInput } from '@/components/shared/SearchInput';
import CephServiceIcon from '@/components/Ceph/CephServiceIcon';
import type { CephCluster, CephPool, CephServiceStatus } from '@/types/api';
@@ -288,6 +289,11 @@ const Ceph: Component = () => {
return (
<div class="space-y-4">
+ <PageHeader
+ title="Ceph"
+ description="Monitor cluster health, service status, capacity, and pool utilization across connected Ceph environments."
+ />
+
{/* Loading State */}
<Show when={isLoading()}>
<Card padding="lg">
diff --git a/frontend-modern/src/pages/Dashboard.tsx b/frontend-modern/src/pages/Dashboard.tsx
index 1c87ae0850..08462c6f21 100644
--- a/frontend-modern/src/pages/Dashboard.tsx
+++ b/frontend-modern/src/pages/Dashboard.tsx
@@ -11,6 +11,7 @@ import {
import { useNavigate } from '@solidjs/router';
import { useWebSocket } from '@/contexts/appRuntime';
import { buildInfrastructureOnboardingPath } from '@/components/Settings/infrastructureWorkspaceModel';
+import { PageHeader } from '@/components/shared/PageHeader';
import { useDashboardOverview } from '@/hooks/useDashboardOverview';
import { useDashboardTrends } from '@/hooks/useDashboardTrends';
import { useDashboardLayout } from '@/hooks/useDashboardLayout';
@@ -169,6 +170,11 @@ export default function Dashboard() {
return (
<main data-testid="dashboard-page" class="space-y-6">
+ <PageHeader
+ title="Dashboard"
+ description="Track infrastructure health, active risks, storage pressure, and recovery readiness from one overview."
+ />
+
{/* Connection warning banner — shown above all content, NOT a full-page takeover */}
<Show when={hasConnectionError() && initialLoadComplete()}>
<div