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
test(frontend): repin patrol findings badge boundary to getPatrolWorkspaceWorkGroups
rcourtman8830eb66b745
diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.tsindex 9d6fb5a9d8..b4b797b02e 100644--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts@@ -3576,10 +3576,11 @@ describe('frontend resource type boundaries', () => {expect(patrolSummaryPresentationSource).toContain('badgeVariant:');expect(patrolSummaryPresentationSource).not.toContain('badgeClass:');expect(patrolIntelligenceWorkspaceSource).toContain('MetadataBadge');- expect(patrolIntelligenceWorkspaceSource).toContain('findingsBadgePresentation().tone');- expect(patrolIntelligenceWorkspaceSource).not.toContain(- 'findingsBadgePresentation().toneClasses',- );+ // Work-group badge tones resolve in the patrolControlPresentation adapter+ // (getPatrolWorkspaceWorkGroups), never inline in the workspace component.+ expect(patrolIntelligenceWorkspaceSource).toContain('getPatrolWorkspaceWorkGroups');+ expect(patrolIntelligenceWorkspaceSource).toContain('tone={group.tone}');+ expect(patrolIntelligenceWorkspaceSource).not.toContain('findingsBadgePresentation');expect(patrolIntelligenceWorkspaceSource).not.toContain('ml-1.5 px-1.5 py-0.5 text-xs rounded-full',);