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.

Align the backup surface contract with readable narrow identity

pulse-triage[bot]0a58a123cc24
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxPageSurface.contract.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxPageSurface.contract.test.tsx
index 4f44771c35..3c993a601e 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxPageSurface.contract.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxPageSurface.contract.test.tsx
@@ -500,14 +500,20 @@ describe('ProxmoxPageSurface contract', () => {
expect(proxmoxBackupsTableSource).not.toContain('SavedViews');
});
- it('keeps backup summary identity on one canonical compact row', () => {
+ it('keeps backup identity constrained and narrow restore scope readable', () => {
expect(proxmoxBackupServersTableSource).not.toContain(
'font-mono text-[10px] font-normal text-muted',
);
expect(proxmoxBackupServersTableSource).toContain(
"title={[row.serverName, row.datastore?.name].filter(Boolean).join(' · ')}",
);
- expect(proxmoxRecoverableTableSource).toContain('class="flex min-w-0 items-center gap-1"');
+ // The date feed groups complete scope on phones instead of requiring a
+ // single clipped line. Real inventory/width/focus cases live in
+ // recoverableIdentityAccess.test.tsx, not this source-wiring check.
+ expect(proxmoxRecoverableTableSource).toContain('class="min-w-0 flex-1"');
+ expect(proxmoxRecoverableTableSource).toContain('data-backup-workload-connection');
+ expect(proxmoxRecoverableTableSource).toContain('data-backup-source-connection');
+ expect(proxmoxRecoverableTableSource).toContain('data-backup-location');
expect(proxmoxRecoverableTableSource).not.toContain('class="truncate text-[10px] text-muted"');
});