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
style(web): restore alert recovery formatting gate
pulse-triage[bot]a7484acca404
diff --git a/frontend-modern/src/features/alerts/AlertDeliveryHealthCard.test.tsx b/frontend-modern/src/features/alerts/AlertDeliveryHealthCard.test.tsxindex 82170c4388..042da4ff47 100644--- a/frontend-modern/src/features/alerts/AlertDeliveryHealthCard.test.tsx+++ b/frontend-modern/src/features/alerts/AlertDeliveryHealthCard.test.tsx@@ -221,10 +221,12 @@ describe('recovery feedback beside delivery health', () => {afterEach(() => cleanup());it('preserves editing focus and live-region identity when failure feedback changes', () => {const [message, setMessage] = createSignal<string | null>(null);- render(() => <>- <input aria-label="Destination name" />- <AlertQueueActionFeedback message={message()} onClear={() => setMessage(null)} />- </>);+ render(() => (+ <>+ <input aria-label="Destination name" />+ <AlertQueueActionFeedback message={message()} onClear={() => setMessage(null)} />+ </>+ ));const input = screen.getByRole('textbox', { name: 'Destination name' });const status = screen.getByRole('status');expect(status).toHaveAttribute('aria-live', 'polite');diff --git a/frontend-modern/src/features/alerts/__tests__/DestinationsTab.recoveryediting.test.tsx b/frontend-modern/src/features/alerts/__tests__/DestinationsTab.recoveryediting.test.tsxindex 2307c007cf..2c07536cad 100644--- a/frontend-modern/src/features/alerts/__tests__/DestinationsTab.recoveryediting.test.tsx+++ b/frontend-modern/src/features/alerts/__tests__/DestinationsTab.recoveryediting.test.tsx@@ -137,12 +137,16 @@ describe('DestinationsTab recovery while editing SMTP', () => {vi.restoreAllMocks();});- it.each(([- ['retryTerminalFailures', 'Retry retained deliveries', 'retry'],- ['dismissTerminalFailures', 'Dismiss retained failures', 'dismiss'],- ] as const).flatMap(([action, label, verb]) =>- (['available', 'unavailable'] as const).map((refresh) => ({ action, label, verb, refresh })),- ))(+ it.each(+ (+ [+ ['retryTerminalFailures', 'Retry retained deliveries', 'retry'],+ ['dismissTerminalFailures', 'Dismiss retained failures', 'dismiss'],+ ] as const+ ).flatMap(([action, label, verb]) =>+ (['available', 'unavailable'] as const).map((refresh) => ({ action, label, verb, refresh })),+ ),+ )('preserves unfinished edits through $action with $refresh refresh',async ({ action, label, verb, refresh }) => {const [emailConfig, setEmailConfig] = createSignal(buildEmailConfig());@@ -222,8 +226,12 @@ describe('DestinationsTab recovery while editing SMTP', () => {deadLetter: 0,};if (refresh === 'unavailable') {- vi.mocked(NotificationsAPI.getHealth).mockRejectedValueOnce(new Error('health unavailable'));- vi.mocked(NotificationsAPI.getDeliveryLog).mockRejectedValueOnce(new Error('history unavailable'));+ vi.mocked(NotificationsAPI.getHealth).mockRejectedValueOnce(+ new Error('health unavailable'),+ );+ vi.mocked(NotificationsAPI.getDeliveryLog).mockRejectedValueOnce(+ new Error('history unavailable'),+ );} else {vi.mocked(NotificationsAPI.getHealth).mockResolvedValueOnce(healthy);}@@ -246,8 +254,14 @@ describe('DestinationsTab recovery while editing SMTP', () => {expect(screen.getByRole('status')).toBe(status);expect(status).toBeEmptyDOMElement();if (refresh === 'unavailable') {- expect(await screen.findByText('Notification delivery status is unavailable')).toBeInTheDocument();- expect(await screen.findByText('Pulse could not read the delivery log, so recent delivery activity cannot be shown.')).toBeInTheDocument();+ expect(+ await screen.findByText('Notification delivery status is unavailable'),+ ).toBeInTheDocument();+ expect(+ await screen.findByText(+ 'Pulse could not read the delivery log, so recent delivery activity cannot be shown.',+ ),+ ).toBeInTheDocument();expect(screen.queryByText('SMTP fixture rejected')).not.toBeInTheDocument();} else {expect(screen.getByText('SMTP fixture rejected')).toBeInTheDocument();