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.

Canonicalize alerts notifications title

rcourtman27d97cf44087
diff --git a/docs/release-control/v6/internal/subsystems/alerts.md b/docs/release-control/v6/internal/subsystems/alerts.md
index 50cc9857bb..33efbcab28 100644
--- a/docs/release-control/v6/internal/subsystems/alerts.md
+++ b/docs/release-control/v6/internal/subsystems/alerts.md
@@ -187,7 +187,10 @@ between visible alert tabs and URLs. The operator-facing Notifications tab
must use `/alerts/notifications` as its canonical route because the visible
navigation label is Notifications; `/alerts/destinations` is a legacy alias
only and must normalize through `tabFromPath` / `pathForTab` instead of being
-reintroduced as canonical UI vocabulary.
+reintroduced as canonical UI vocabulary. The page header for that tab must use
+`Notifications` as its title; destination wording may describe concrete email,
+Apprise, or webhook endpoints, but it must not reappear as the primary tab or
+page identity.
That shared alert presentation boundary now also has explicit alerts ownership.
`frontend-modern/src/utils/alertWebhookPresentation.ts` is the canonical owner
for webhook setup copy, service labels, mention-help phrasing, custom-field
diff --git a/frontend-modern/src/utils/__tests__/alertOverviewPresentation.test.ts b/frontend-modern/src/utils/__tests__/alertOverviewPresentation.test.ts
index d3790a9447..b41fca754e 100644
--- a/frontend-modern/src/utils/__tests__/alertOverviewPresentation.test.ts
+++ b/frontend-modern/src/utils/__tests__/alertOverviewPresentation.test.ts
@@ -90,7 +90,7 @@ describe('alertOverviewPresentation', () => {
expect(ALERTS_PAGE_DEFAULT_TITLE).toBe('Alerts');
expect(ALERTS_PAGE_OVERVIEW_TITLE).toBe('Alerts Overview');
expect(ALERTS_PAGE_THRESHOLDS_TITLE).toBe('Alert Thresholds');
- expect(ALERTS_PAGE_DESTINATIONS_TITLE).toBe('Notification Destinations');
+ expect(ALERTS_PAGE_DESTINATIONS_TITLE).toBe('Notifications');
expect(ALERTS_PAGE_SCHEDULE_TITLE).toBe('Maintenance Schedule');
expect(ALERTS_PAGE_HISTORY_TITLE).toBe('Alert History');
expect(ALERTS_PAGE_DEFAULT_DESCRIPTION).toBe(
@@ -123,7 +123,7 @@ describe('alertOverviewPresentation', () => {
'Tune thresholds and scoped overrides for infrastructure, workloads, and integrations.',
},
destinations: {
- title: 'Notification Destinations',
+ title: 'Notifications',
description: 'Route alert notifications to email, Apprise, and webhook destinations.',
},
schedule: {
diff --git a/frontend-modern/src/utils/alertOverviewPresentation.ts b/frontend-modern/src/utils/alertOverviewPresentation.ts
index c8b10b66c8..6e5910becd 100644
--- a/frontend-modern/src/utils/alertOverviewPresentation.ts
+++ b/frontend-modern/src/utils/alertOverviewPresentation.ts
@@ -17,7 +17,7 @@ export const ALERT_OVERVIEW_WORKLOAD_OVERRIDES_LABEL = 'Workload Overrides';
export const ALERTS_PAGE_DEFAULT_TITLE = 'Alerts';
export const ALERTS_PAGE_OVERVIEW_TITLE = 'Alerts Overview';
export const ALERTS_PAGE_THRESHOLDS_TITLE = 'Alert Thresholds';
-export const ALERTS_PAGE_DESTINATIONS_TITLE = 'Notification Destinations';
+export const ALERTS_PAGE_DESTINATIONS_TITLE = 'Notifications';
export const ALERTS_PAGE_SCHEDULE_TITLE = 'Maintenance Schedule';
export const ALERTS_PAGE_HISTORY_TITLE = 'Alert History';
export const ALERTS_PAGE_DEFAULT_DESCRIPTION =