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.

frontend: drop PageHeader from Dashboard/Infrastructure/Storage/Ceph

rcourtman14b092ce9e1a
diff --git a/frontend-modern/src/components/Storage/Storage.tsx b/frontend-modern/src/components/Storage/Storage.tsx
index 266bc45c88..5cbedc2a58 100644
--- a/frontend-modern/src/components/Storage/Storage.tsx
+++ b/frontend-modern/src/components/Storage/Storage.tsx
@@ -4,7 +4,6 @@ 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';
@@ -74,8 +73,6 @@ const Storage: Component = () => {
class="space-y-4"
data-testid="storage-page"
>
- <PageHeader title="Storage" />
-
<StickySummarySection desktopOnly={false}>
<StoragePageSummary
filteredRecordCount={() => filteredRecords().length}
diff --git a/frontend-modern/src/features/infrastructure/InfrastructurePageSurface.tsx b/frontend-modern/src/features/infrastructure/InfrastructurePageSurface.tsx
index 8d12ea82d9..c2d4dc9a85 100644
--- a/frontend-modern/src/features/infrastructure/InfrastructurePageSurface.tsx
+++ b/frontend-modern/src/features/infrastructure/InfrastructurePageSurface.tsx
@@ -4,7 +4,6 @@ import { buildInfrastructureWorkspacePath } from '@/components/Settings/infrastr
import { EmptyState } from '@/components/shared/EmptyState';
import { Card } from '@/components/shared/Card';
import { FilterSegmentedControl, LabeledFilterSelect } from '@/components/shared/FilterToolbar';
-import { PageHeader } from '@/components/shared/PageHeader';
import { PageControls } from '@/components/shared/PageControls';
import { SearchInput } from '@/components/shared/SearchInput';
import { StickySummarySection } from '@/components/shared/StickySummarySection';
@@ -87,8 +86,6 @@ export function InfrastructurePageSurface() {
data-testid="infrastructure-page"
class="space-y-4"
>
- <PageHeader title="Infrastructure" />
-
<Show
when={!loading() || initialLoadComplete()}
fallback={
diff --git a/frontend-modern/src/pages/Ceph.tsx b/frontend-modern/src/pages/Ceph.tsx
index 2027c90961..c661445097 100644
--- a/frontend-modern/src/pages/Ceph.tsx
+++ b/frontend-modern/src/pages/Ceph.tsx
@@ -12,7 +12,6 @@ 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';
@@ -289,9 +288,6 @@ const Ceph: Component = () => {
return (
<div class="space-y-4">
- <PageHeader id="ceph-title" title="Ceph" />
- {/* Navigation */}
-
{/* 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 d8b31baa80..a38ce10482 100644
--- a/frontend-modern/src/pages/Dashboard.tsx
+++ b/frontend-modern/src/pages/Dashboard.tsx
@@ -33,7 +33,6 @@ import {
import { RecentAlertsPanel } from '@/components/Alerts/RecentAlertsPanel';
import { DashboardRecoveryStatusPanel } from '@/components/Recovery/DashboardRecoveryStatusPanel';
import { DashboardStoragePanel } from '@/components/Storage/DashboardStoragePanel';
-import { PageHeader } from '@/components/shared/PageHeader';
import type { DashboardWidgetDef, DashboardWidgetId } from '@/features/dashboardOverview/dashboardWidgets';
export default function Dashboard() {
const navigate = useNavigate();
@@ -169,8 +168,6 @@ export default function Dashboard() {
return (
<main data-testid="dashboard-page" class="space-y-6">
- <PageHeader title="Dashboard" />
-
{/* Connection warning banner — shown above all content, NOT a full-page takeover */}
<Show when={hasConnectionError() && initialLoadComplete()}>
<div