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.

Keep narrow Coverage workload identity readable

pulse-triage[bot]07444f76cf25
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index b1d883e166..67515d7789 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -10454,3 +10454,18 @@ Removing a guessed node must not discard the useful namespace/datastore it
misrepresented. `ProxmoxCoverageTable.test.tsx` checks narrow/full projection
and complete long location text; the parsed inventory regressions also retain
reader identity and full repository context without adding reads or routes.
+
+### Narrow Coverage keeps workload identity visible
+
+Coverage containers below 720px wrap the full workload name and PVE connection
+instead of making touch users rely on hover titles. The folded VM/LXC target ID
+sits on its own line so it cannot squeeze the name to an ellipsis. Wider tables
+retain their dense projection; the expanded owner, inventory association, posture,
+read cadence and guest operations are unchanged. This is readable identity, not
+original-incident recovery.
+
+The normal `backupWorkloadIdentity.test.tsx` suite checks long namesake labels,
+end-distinguished connections, 719/720px projection, scoped evidence and owner
+links. Browser proof must inspect complete rendered names/connections, layout
+resize, keyboard/touch disclosure and retained polling at desktop and narrow
+widths, with actual pixels.
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 7bf6d05f17..6e11d32c47 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -8065,3 +8065,18 @@ audit success/failure and preserved settings/files/secrets/admin access. Actual
native sign-in and installed recovery remain distinct evidence.
Existing XML-parser failures keep their original categories; this evidence
check only runs after that parser succeeds.
+
+### Narrow Coverage keeps workload identity visible
+
+Coverage containers below 720px wrap the full workload name and PVE connection
+instead of making touch users rely on hover titles. The folded VM/LXC target ID
+sits on its own line so it cannot squeeze the name to an ellipsis. Wider tables
+retain their dense projection; the expanded owner, inventory association, posture,
+read cadence and guest operations are unchanged. This is readable identity, not
+original-incident recovery.
+
+The normal `backupWorkloadIdentity.test.tsx` suite checks long namesake labels,
+end-distinguished connections, 719/720px projection, scoped evidence and owner
+links. Browser proof must inspect complete rendered names/connections, layout
+resize, keyboard/touch disclosure and retained polling at desktop and narrow
+widths, with actual pixels.
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index c2f15c1450..50083e2597 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -8924,3 +8924,18 @@ Removing a guessed node must not discard the useful namespace/datastore it
misrepresented. `ProxmoxCoverageTable.test.tsx` checks narrow/full projection
and complete long location text; the parsed inventory regressions also retain
reader identity and full repository context without adding reads or routes.
+
+### Narrow Coverage keeps workload identity visible
+
+Coverage containers below 720px wrap the full workload name and PVE connection
+instead of making touch users rely on hover titles. The folded VM/LXC target ID
+sits on its own line so it cannot squeeze the name to an ellipsis. Wider tables
+retain their dense projection; the expanded owner, inventory association, posture,
+read cadence and guest operations are unchanged. This is readable identity, not
+original-incident recovery.
+
+The normal `backupWorkloadIdentity.test.tsx` suite checks long namesake labels,
+end-distinguished connections, 719/720px projection, scoped evidence and owner
+links. Browser proof must inspect complete rendered names/connections, layout
+resize, keyboard/touch disclosure and retained polling at desktop and narrow
+widths, with actual pixels.
diff --git a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx
index b32f639d2d..c895fc26c2 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx
@@ -347,6 +347,9 @@ export function ProxmoxCoverageTable(props: {
const width = props.layoutWidth?.() ?? observedWidth.width();
return typeof width === 'number' && width > 0 ? getCoverageLayoutForContainer(width) : 'full';
});
+ // Phones (and narrow panes beside the Assistant) cannot reveal hover titles.
+ // Keep complete guest/connection identity visible before opening a namesake.
+ const wrapWorkloadIdentity = () => layoutMode() === 'compact' || layoutMode() === 'basic';
const visibleColumns = createMemo(() =>
getCoverageColumns(layoutMode(), {
task: props.showTaskColumn,
@@ -493,9 +496,22 @@ export function ProxmoxCoverageTable(props: {
controlsId={detailRowId()}
onToggle={() => props.onToggleExpand(row.key)}
/>
- <div class="min-w-0">
- <div class="flex min-w-0 items-center gap-1">
- <span class="truncate font-semibold" title={row.workload.label}>
+ <div class="min-w-0 flex-1">
+ <div
+ class={
+ wrapWorkloadIdentity()
+ ? 'flex min-w-0 flex-col items-start'
+ : 'flex min-w-0 items-center gap-1'
+ }
+ >
+ <span
+ class={`font-semibold ${
+ wrapWorkloadIdentity()
+ ? 'block w-full whitespace-normal wrap-anywhere'
+ : 'truncate'
+ }`}
+ title={row.workload.label}
+ >
{row.workload.name || row.workload.label}
</span>
<Show
@@ -515,7 +531,11 @@ export function ProxmoxCoverageTable(props: {
<Show when={getBackupWorkloadPVEConnection(row.workload)}>
{(connection) => (
<span
- class="block truncate text-[10px] text-muted"
+ class={`block text-[10px] text-muted ${
+ wrapWorkloadIdentity()
+ ? 'whitespace-normal wrap-anywhere'
+ : 'truncate'
+ }`}
title={`PVE connection: ${connection()}`}
data-backup-workload-connection
>
diff --git a/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx b/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx
index 03d42df719..9a08e30de2 100644
--- a/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx
@@ -109,6 +109,66 @@ describe('backup workload identity in real inventory consumers', () => {
},
);
+ it.each([320, 390, 600, 719, 720, 1200])(
+ 'keeps complete guest and connection labels readable in narrow Coverage at %ipx',
+ async (width) => {
+ api.width = width;
+ const name = 'accounting-database-production-primary';
+ const scopes = [
+ 'pve.cluster.production.london.example.internal',
+ 'pve.cluster.production.bristol.example.internal',
+ ];
+ const workloads = scopes.map((instance, index) => ({
+ ...identityGuest(`guest-${index}`, instance, 'pve-1'),
+ name,
+ displayName: name,
+ }));
+ mount({
+ workloads,
+ pve: {
+ ...emptyPVE,
+ storageBackups: scopes.map((instance, index) =>
+ identityArchive({ id: `file-${index}`, instance, storage: `store-${index}` }),
+ ),
+ },
+ });
+ await screen.findAllByText(name);
+ const rows = Array.from(
+ document.querySelectorAll<HTMLElement>('[data-proxmox-backup-row="coverage"]'),
+ );
+ expect(rows).toHaveLength(2);
+ for (const [index, scope] of scopes.entries()) {
+ const row = rows.find((item) => connectionOf(item) === `PVE: ${scope}`)!;
+ const label = within(row).getByText(name, { exact: true });
+ const connection = row.querySelector('[data-backup-workload-connection]')!;
+ if (width < 720) {
+ expect(label).toHaveClass('whitespace-normal', 'wrap-anywhere');
+ expect(label).not.toHaveClass('truncate');
+ expect(label.parentElement).toHaveClass('flex-col', 'items-start');
+ expect(connection).toHaveClass('whitespace-normal', 'wrap-anywhere');
+ expect(connection).not.toHaveClass('truncate');
+ } else {
+ expect(label).toHaveClass('truncate');
+ expect(connection).toHaveClass('truncate');
+ }
+ if (width < 1120) expect(row).toHaveTextContent('VM 100');
+ const toggle = within(row).getByRole('button', { name: /Expand details/ });
+ fireEvent.click(toggle);
+ const panel = screen.getByTestId('proxmox-coverage-detail');
+ expect(connectionRow(panel)).toHaveTextContent(scope);
+ expect(panel).toHaveTextContent(`store-${index}`);
+ expect(panel).not.toHaveTextContent(`store-${1 - index}`);
+ expect(within(panel).getByRole('link', { name: `Open ${name}` })).toHaveAttribute(
+ 'href',
+ `/proxmox/overview?resource=guest-${index}`,
+ );
+ fireEvent.click(toggle);
+ }
+ expect(api.fetch).toHaveBeenCalledTimes(2);
+ expect(screen.getByRole('button', { name: '2 unknown' })).toBeInTheDocument();
+ },
+ );
+
it('keeps the PVE workload scope separate from its PBS reader and namespace in both details', async () => {
mount({
workloads: guests().slice(0, 1),