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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Remove redundant platform page headers
rcourtman45d958ff5d9f
diff --git a/frontend-modern/src/features/docker/DockerPageSurface.tsx b/frontend-modern/src/features/docker/DockerPageSurface.tsxindex 70bbd739e2..b8f229202d 100644--- a/frontend-modern/src/features/docker/DockerPageSurface.tsx+++ b/frontend-modern/src/features/docker/DockerPageSurface.tsx@@ -7,7 +7,6 @@ import { useWorkloadsState } from '@/components/Workloads/useWorkloadsState';import { useUnifiedResources } from '@/hooks/useUnifiedResources';import {PlatformErrorState,- PlatformPageHeader,PlatformSectionTabs,PlatformTableEmptyState,PlatformTableLoadingState,@@ -94,10 +93,6 @@ export function DockerPageSurface() {return (<div data-testid="docker-page" class="space-y-3">- <PlatformPageHeader- title="Docker"- description="Inspect Docker and Podman hosts, containers, and Swarm services."- /><PlatformSectionTabs tabs={DOCKER_TAB_SPECS} active="overview" ariaLabel="Docker sections" /><Showdiff --git a/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx b/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsxindex 1c83297621..06c5304734 100644--- a/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx+++ b/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx@@ -8,7 +8,6 @@ import { useUnifiedResources } from '@/hooks/useUnifiedResources';import { resourceMatchesSearch } from '@/utils/resourceSearchMatch';import {PlatformErrorState,- PlatformPageHeader,PlatformSectionTabs,PlatformTableEmptyState,PlatformTableLoadingState,@@ -49,10 +48,6 @@ export function KubernetesPageSurface() {return (<div data-testid="kubernetes-page" class="space-y-3">- <PlatformPageHeader- title="Kubernetes"- description="Inspect Kubernetes clusters, nodes, deployments, and pods."- /><PlatformSectionTabstabs={KUBERNETES_TAB_SPECS}active="overview"diff --git a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurface.contract.test.tsx b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurface.contract.test.tsxindex 8a7b7391b8..bab1b33360 100644--- a/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurface.contract.test.tsx+++ b/frontend-modern/src/features/kubernetes/__tests__/KubernetesPageSurface.contract.test.tsx@@ -32,7 +32,6 @@ vi.mock('@/components/Workloads/WorkloadsSurface', () => ({vi.mock('@/features/platformPage/sharedPlatformPage', () => ({PlatformErrorState: () => <div data-testid="platform-error-state" />,- PlatformPageHeader: () => <div data-testid="platform-page-header" />,PlatformSectionTabs: () => <div data-testid="platform-section-tabs" />,PlatformTableEmptyState: () => <div data-testid="platform-table-empty-state" />,PlatformTableLoadingState: () => <div data-testid="platform-table-loading-state" />,diff --git a/frontend-modern/src/features/platformPage/__tests__/sharedPlatformPage.test.ts b/frontend-modern/src/features/platformPage/__tests__/sharedPlatformPage.test.tsindex acb1d55a93..98fa27c669 100644--- a/frontend-modern/src/features/platformPage/__tests__/sharedPlatformPage.test.ts+++ b/frontend-modern/src/features/platformPage/__tests__/sharedPlatformPage.test.ts@@ -1,9 +1,7 @@-import { afterEach, describe, expect, it } from 'vitest';-import { cleanup, render, screen } from '@solidjs/testing-library';+import { describe, expect, it } from 'vitest';import { createRoot } from 'solid-js';import type { Resource } from '@/types/resource';import {- PlatformPageHeader,createPlatformTableFilterState,filterPlatformResources,type PlatformResourceStatusFilter,@@ -131,23 +129,3 @@ describe('filterPlatformResources', () => {});});});--describe('PlatformPageHeader', () => {- afterEach(() => {- cleanup();- });-- it('renders a canonical page heading and description for platform surfaces', () => {- render(() =>- PlatformPageHeader({- title: 'Docker',- description: 'Inspect Docker and Podman hosts, containers, and Swarm services.',- }),- );-- expect(screen.getByRole('heading', { level: 1, name: 'Docker' })).toBeInTheDocument();- expect(- screen.getByText('Inspect Docker and Podman hosts, containers, and Swarm services.'),- ).toBeInTheDocument();- });-});diff --git a/frontend-modern/src/features/platformPage/sharedPlatformPage.tsx b/frontend-modern/src/features/platformPage/sharedPlatformPage.tsxindex 7f8b93501d..39c3ddf544 100644--- a/frontend-modern/src/features/platformPage/sharedPlatformPage.tsx+++ b/frontend-modern/src/features/platformPage/sharedPlatformPage.tsx@@ -3,7 +3,6 @@ import TriangleAlertIcon from 'lucide-solid/icons/triangle-alert';import { For, Show, createMemo, createSignal, type Component, type JSX } from 'solid-js';import { EmptyState } from '@/components/shared/EmptyState';import { FilterButtonGroup, type FilterOption } from '@/components/shared/FilterButtonGroup';-import { PageHeader } from '@/components/shared/PageHeader';import { SearchInput } from '@/components/shared/SearchInput';import { TableCard } from '@/components/shared/TableCard';import { UnifiedResourceTable } from '@/components/Infrastructure/UnifiedResourceTable';@@ -16,10 +15,6 @@ export type PlatformTabSpec<TabId extends string> = {path: string;};-export function PlatformPageHeader(props: { title: string; description: string }) {- return <PageHeader title={props.title} description={props.description} />;-}-export function PlatformSectionTabs<TabId extends string>(props: {tabs: readonly PlatformTabSpec<TabId>[];active: TabId;diff --git a/frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsx b/frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsxindex 4fd19c1254..24e31283a8 100644--- a/frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxPageSurface.tsx@@ -20,7 +20,6 @@ import { STORAGE_KEYS } from '@/utils/localStorage';import { resourceMatchesSearch } from '@/utils/resourceSearchMatch';import {PlatformErrorState,- PlatformPageHeader,PlatformSectionTabs,PlatformTableEmptyState,PlatformTableLoadingState,@@ -105,10 +104,6 @@ export function ProxmoxPageSurface() {return (<div data-testid="proxmox-page" class="space-y-3">- <PlatformPageHeader- title="Proxmox"- description="Inspect Proxmox VE, Backup Server, Mail Gateway, storage, replication, and backups."- /><PlatformSectionTabs tabs={visibleTabs()} active={activeTab()} ariaLabel="Proxmox sections" /><Showdiff --git a/frontend-modern/src/features/truenas/TrueNASPageSurface.tsx b/frontend-modern/src/features/truenas/TrueNASPageSurface.tsxindex 3b777366af..91c8ed5395 100644--- a/frontend-modern/src/features/truenas/TrueNASPageSurface.tsx+++ b/frontend-modern/src/features/truenas/TrueNASPageSurface.tsx@@ -10,7 +10,6 @@ import { useUnifiedResources } from '@/hooks/useUnifiedResources';import { resourceMatchesSearch } from '@/utils/resourceSearchMatch';import {PlatformErrorState,- PlatformPageHeader,PlatformSectionTabs,PlatformTableEmptyState,PlatformTableLoadingState,@@ -55,10 +54,6 @@ export function TrueNASPageSurface() {return (<div data-testid="truenas-page" class="space-y-3">- <PlatformPageHeader- title="TrueNAS"- description="Inspect TrueNAS systems, storage, and reported apps."- /><PlatformSectionTabstabs={TRUENAS_TAB_SPECS}active={activeTab()}diff --git a/frontend-modern/src/features/vmware/VmwarePageSurface.tsx b/frontend-modern/src/features/vmware/VmwarePageSurface.tsxindex e204dfe934..93ac8b2005 100644--- a/frontend-modern/src/features/vmware/VmwarePageSurface.tsx+++ b/frontend-modern/src/features/vmware/VmwarePageSurface.tsx@@ -10,7 +10,6 @@ import { useUnifiedResources } from '@/hooks/useUnifiedResources';import { resourceMatchesSearch } from '@/utils/resourceSearchMatch';import {PlatformErrorState,- PlatformPageHeader,PlatformSectionTabs,PlatformTableEmptyState,PlatformTableLoadingState,@@ -53,10 +52,6 @@ export function VmwarePageSurface() {return (<div data-testid="vmware-page" class="space-y-3">- <PlatformPageHeader- title="vSphere"- description="Inspect vSphere hosts, virtual machines, and datastores."- /><PlatformSectionTabstabs={VMWARE_TAB_SPECS}active={activeTab()}