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.

Wrap the selected datastore interpretation on narrow screens

pulse-triage[bot]1271fb075741
diff --git a/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx
index a3a7f63325..d597cbbe62 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsx
@@ -206,7 +206,7 @@ function BackupServerDatastoreContext(props: {
{ label: 'Backup entries', value: inventoryText(), layout: 'stacked' },
],
footerContent: (
- <p class="text-[11px] leading-snug text-muted">
+ <p class="whitespace-normal text-[11px] leading-snug text-muted">
Counts describe the loaded inventory, which can include in-progress and unverified
entries. They do not establish backup protection. Connection health and datastore
capacity are separate readings.
diff --git a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
index b5d1bf81e8..089bf53057 100644
--- a/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
@@ -418,6 +418,11 @@ describe('ProxmoxBackupsTable', () => {
expect(within(selected).getByText('Datastore').closest('tr')).toHaveTextContent('offsite');
expect(within(selected).getByText('Backup reader').closest('tr')).toHaveTextContent('pbs-main');
expect(within(selected).getByText('Capacity').closest('tr')).toHaveTextContent('25.0%');
+ // The surrounding scan table is nowrap; the interpretation must wrap too,
+ // not only the four fields protected by DetailSectionTable.wrapValues.
+ expect(within(selected).getByText(/Counts describe the loaded inventory/)).toHaveClass(
+ 'whitespace-normal',
+ );
});
it('uses a corroborated PBS host link for Backups History despite a PVE-only name collision', () => {