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
Strip explanatory subtitles from Ceph, Patrol, and Alerts headers
rcourtman393521f5ebf6
diff --git a/frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx b/frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsxindex a57be71fe9..d771d56e1e 100644--- a/frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx+++ b/frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx@@ -71,7 +71,6 @@ export function PatrolIntelligenceHeader(props: { state: PatrolIntelligenceState<span>Patrol</span></span>}- description="Continuous verification and actionable findings"class="mb-3"actions={<div class="flex flex-wrap items-center justify-end gap-3">diff --git a/frontend-modern/src/pages/Alerts.tsx b/frontend-modern/src/pages/Alerts.tsxindex b85b6c333c..a4f6847931 100644--- a/frontend-modern/src/pages/Alerts.tsx+++ b/frontend-modern/src/pages/Alerts.tsx@@ -257,11 +257,7 @@ export function Alerts() {{/* Header with better styling */}<Card padding="md"><div class="flex items-center justify-between gap-4">- <SectionHeader- title={headerMeta().title}- description={headerMeta().description}- size="lg"- />+ <SectionHeader title={headerMeta().title} size="lg" /><Show when={activeTab() === 'overview' && !readOnlySession()}><div class="flex items-center gap-3"><span class={`text-sm font-medium ${alertActivationPresentation().labelClass}`}>diff --git a/frontend-modern/src/pages/Ceph.tsx b/frontend-modern/src/pages/Ceph.tsxindex 6878d88dd2..2027c90961 100644--- a/frontend-modern/src/pages/Ceph.tsx+++ b/frontend-modern/src/pages/Ceph.tsx@@ -289,11 +289,7 @@ const Ceph: Component = () => {return (<div class="space-y-4">- <PageHeader- id="ceph-title"- title="Ceph"- description="Cluster health, services, pools, and capacity across connected storage nodes."- />+ <PageHeader id="ceph-title" title="Ceph" />{/* Navigation */}{/* Loading State */}diff --git a/frontend-modern/src/utils/__tests__/alertOverviewPresentation.test.ts b/frontend-modern/src/utils/__tests__/alertOverviewPresentation.test.tsindex d6a4a4fd1d..52b47d80bc 100644--- a/frontend-modern/src/utils/__tests__/alertOverviewPresentation.test.ts+++ b/frontend-modern/src/utils/__tests__/alertOverviewPresentation.test.ts@@ -6,17 +6,11 @@ import {ALERT_HISTORY_LOADING_STATE,ALERT_HISTORY_SEARCH_PLACEHOLDER,ALERTS_EMPTY_STATE,- ALERTS_PAGE_DEFAULT_DESCRIPTION,ALERTS_PAGE_DEFAULT_TITLE,- ALERTS_PAGE_DESTINATIONS_DESCRIPTION,ALERTS_PAGE_DESTINATIONS_TITLE,- ALERTS_PAGE_HISTORY_DESCRIPTION,ALERTS_PAGE_HISTORY_TITLE,- ALERTS_PAGE_OVERVIEW_DESCRIPTION,ALERTS_PAGE_OVERVIEW_TITLE,- ALERTS_PAGE_SCHEDULE_DESCRIPTION,ALERTS_PAGE_SCHEDULE_TITLE,- ALERTS_PAGE_THRESHOLDS_DESCRIPTION,ALERTS_PAGE_THRESHOLDS_TITLE,ALERT_TIMELINE_EMPTY_STATE,ALERT_TIMELINE_FAILURE_STATE,@@ -81,45 +75,18 @@ describe('alertOverviewPresentation', () => {it('returns canonical alerts page header metadata', () => {expect(ALERTS_PAGE_DEFAULT_TITLE).toBe('Alerts');- expect(ALERTS_PAGE_DEFAULT_DESCRIPTION).toBe('Manage alerting configuration.');expect(ALERTS_PAGE_OVERVIEW_TITLE).toBe('Alerts Overview');- expect(ALERTS_PAGE_OVERVIEW_DESCRIPTION).toContain('recent status changes');expect(ALERTS_PAGE_THRESHOLDS_TITLE).toBe('Alert Thresholds');- expect(ALERTS_PAGE_THRESHOLDS_DESCRIPTION).toContain('override rules');expect(ALERTS_PAGE_DESTINATIONS_TITLE).toBe('Notification Destinations');- expect(ALERTS_PAGE_DESTINATIONS_DESCRIPTION).toContain('escalation paths');expect(ALERTS_PAGE_SCHEDULE_TITLE).toBe('Maintenance Schedule');- expect(ALERTS_PAGE_SCHEDULE_DESCRIPTION).toContain('quiet hours');expect(ALERTS_PAGE_HISTORY_TITLE).toBe('Alert History');- expect(ALERTS_PAGE_HISTORY_DESCRIPTION).toContain('resolution timeline');expect(getAlertsPageHeaderMeta()).toEqual({- overview: {- title: 'Alerts Overview',- description:- 'Monitor active alerts, acknowledgements, and recent status changes across platforms.',- },- thresholds: {- title: 'Alert Thresholds',- description:- 'Tune threshold and override rules for infrastructure, systems, storage, and containers.',- },- destinations: {- title: 'Notification Destinations',- description: 'Configure email, webhooks, and escalation paths for alert delivery.',- },- schedule: {- title: 'Maintenance Schedule',- description:- 'Set quiet hours and maintenance windows to suppress alerts when expected changes occur.',- },- history: {- title: 'Alert History',- description: 'Review previously triggered alerts and their resolution timeline.',- },- default: {- title: 'Alerts',- description: 'Manage alerting configuration.',- },+ overview: { title: 'Alerts Overview' },+ thresholds: { title: 'Alert Thresholds' },+ destinations: { title: 'Notification Destinations' },+ schedule: { title: 'Maintenance Schedule' },+ history: { title: 'Alert History' },+ default: { title: 'Alerts' },});});diff --git a/frontend-modern/src/utils/alertOverviewPresentation.ts b/frontend-modern/src/utils/alertOverviewPresentation.tsindex f9dc89e0be..fac12ef1e3 100644--- a/frontend-modern/src/utils/alertOverviewPresentation.ts+++ b/frontend-modern/src/utils/alertOverviewPresentation.ts@@ -13,22 +13,11 @@ export const ALERT_HISTORY_EMPTY_DESCRIPTION = 'Try adjusting your filters or chexport const ALERT_BUCKET_EMPTY_LABEL = 'No alerts';export const ALERT_HISTORY_LOADING_STATE = 'Loading alert history...';export const ALERTS_PAGE_DEFAULT_TITLE = 'Alerts';-export const ALERTS_PAGE_DEFAULT_DESCRIPTION = 'Manage alerting configuration.';export const ALERTS_PAGE_OVERVIEW_TITLE = 'Alerts Overview';-export const ALERTS_PAGE_OVERVIEW_DESCRIPTION =- 'Monitor active alerts, acknowledgements, and recent status changes across platforms.';export const ALERTS_PAGE_THRESHOLDS_TITLE = 'Alert Thresholds';-export const ALERTS_PAGE_THRESHOLDS_DESCRIPTION =- 'Tune threshold and override rules for infrastructure, systems, storage, and containers.';export const ALERTS_PAGE_DESTINATIONS_TITLE = 'Notification Destinations';-export const ALERTS_PAGE_DESTINATIONS_DESCRIPTION =- 'Configure email, webhooks, and escalation paths for alert delivery.';export const ALERTS_PAGE_SCHEDULE_TITLE = 'Maintenance Schedule';-export const ALERTS_PAGE_SCHEDULE_DESCRIPTION =- 'Set quiet hours and maintenance windows to suppress alerts when expected changes occur.';export const ALERTS_PAGE_HISTORY_TITLE = 'Alert History';-export const ALERTS_PAGE_HISTORY_DESCRIPTION =- 'Review previously triggered alerts and their resolution timeline.';export type DashboardAlertTone = 'default' | 'warning' | 'danger';@@ -45,30 +34,12 @@ export interface AlertOverviewCardPresentation {export function getAlertsPageHeaderMeta() {return {- overview: {- title: ALERTS_PAGE_OVERVIEW_TITLE,- description: ALERTS_PAGE_OVERVIEW_DESCRIPTION,- },- thresholds: {- title: ALERTS_PAGE_THRESHOLDS_TITLE,- description: ALERTS_PAGE_THRESHOLDS_DESCRIPTION,- },- destinations: {- title: ALERTS_PAGE_DESTINATIONS_TITLE,- description: ALERTS_PAGE_DESTINATIONS_DESCRIPTION,- },- schedule: {- title: ALERTS_PAGE_SCHEDULE_TITLE,- description: ALERTS_PAGE_SCHEDULE_DESCRIPTION,- },- history: {- title: ALERTS_PAGE_HISTORY_TITLE,- description: ALERTS_PAGE_HISTORY_DESCRIPTION,- },- default: {- title: ALERTS_PAGE_DEFAULT_TITLE,- description: ALERTS_PAGE_DEFAULT_DESCRIPTION,- },+ overview: { title: ALERTS_PAGE_OVERVIEW_TITLE },+ thresholds: { title: ALERTS_PAGE_THRESHOLDS_TITLE },+ destinations: { title: ALERTS_PAGE_DESTINATIONS_TITLE },+ schedule: { title: ALERTS_PAGE_SCHEDULE_TITLE },+ history: { title: ALERTS_PAGE_HISTORY_TITLE },+ default: { title: ALERTS_PAGE_DEFAULT_TITLE },} as const;}