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
Pin the per-change presentation wrapper in the resource type guard
rcourtman04e4f64a6e1b
diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.tsindex dd056e05e3..95d18b5412 100644--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts@@ -2143,12 +2143,22 @@ describe('frontend resource type boundaries', () => {expect(resourceDetailDrawerSource).toContain('getResourceChangeKindPresentation');expect(resourceDetailDrawerSource).toContain('getResourceChangeSourceTypePresentation');expect(resourceDetailDrawerSource).toContain('getResourceChangeSourceAdapterPresentation');- expect(resourceChangeSummarySource).toContain('getResourceChangeKindPresentation');+ // Per-change rows read getResourceChangePresentation, which wraps the+ // kind presentation so an alert close that was not a recovery reads as+ // a move.+ expect(resourceDetailDrawerSource).toContain('getResourceChangePresentation(change)');+ expect(resourceChangeSummarySource).toContain('getResourceChangePresentation(change)');+ expect(resourceChangeSummarySource).not.toContain(+ 'getResourceChangeKindPresentation(change.kind)',+ );expect(resourceChangeSummarySource).toContain('getResourceChangeSourceTypePresentation');expect(resourceChangeSummarySource).toContain('getResourceChangeSourceAdapterPresentation');expect(resourceDetailDrawerSource).not.toContain('healthToneClass(');expect(resourceDetailDrawerSource).not.toContain('normalizeHealthLabel(');expect(resourceChangePresentationSource).toContain('getResourceChangeKindPresentation');+ expect(resourceChangePresentationSource).toContain(+ 'export function getResourceChangePresentation',+ );expect(resourceChangePresentationSource).toContain('getResourceChangeSourceTypePresentation');expect(resourceChangePresentationSource).toContain('getResourceChangeSourceAdapterPresentation',