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
Keep the availability result readable and give names room
rcourtmand4e94a7e349a
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex aa974bf928..be7ee95ae8 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -7558,6 +7558,12 @@ inside the fleet surface with explicit copy while current status and resourcenavigation remain usable. Desktop and phone layouts must keep every tilekeyboard-operable, preserve the textual legend, and avoid horizontal clippingat fleet scale.+In the table, a secondary `MetadataBadge` beside a cell's primary value shares+one flex line with it: the value is `shrink-0` and the badge `min-w-0` with a+truncating label, so the value never clips and rows keep the single height+`PlatformWindowedRows` measures. A second line under the value would break+that windowing. Passing `flex` to the badge alongside its own `inline-flex`+left the display to stylesheet order, which clipped the availability result.The Machines page must not pretend its machine list is a generic overview:the default tab is `Machines`, the Machines table is only for Pulse Agent-backedresources with host telemetry, and the full availability-check row list belongsdiff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex b91304e4d5..d739d3722b 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -3460,6 +3460,14 @@ with the offline threshold on hover, not an "N/M" fraction.Recent check timing and fuller failure context may stay in tooltip or drawerdetail, but the table row must not duplicate the same probe protocol andresult text across both identity and metric cells.+The probe source chip ("via Edge 01", or "2/2 locations reporting" for a+multi-location check, the same wording Settings uses) shares the result's+single line: the result keeps its full width at the cell's right edge and the+chip takes the room left, truncating with its full text on hover. Before, the+chip pushed "failed" out of its column at every width up to 1440px. Rows stay+one line because the table windows them at a single measured height. On+phones the method and target columns hide so the check name reads, and both+stay in the row drawer.That same frontend-owned compatibility boundary must remain intentionallynarrow. Shared resource adapters may admit explicit aliases such as `host`,`truenas`, and `ceph`, and VMware detail mappers may project typed metadatadiff --git a/frontend-modern/browser-verification/46c7544c2f493da0.json b/frontend-modern/browser-verification/46c7544c2f493da0.jsonnew file mode 100644index 0000000000..eb1a480d20--- /dev/null+++ b/frontend-modern/browser-verification/46c7544c2f493da0.json@@ -0,0 +1,51 @@+{+ "version": 1,+ "base_sha": "c4db7a3fba35a14ee41675483726213644b31edc",+ "verified_at": "2026-10-06T14:33:38Z",+ "result": "passed",+ "changed_paths": [+ "frontend-modern/src/features/standalone/AvailabilityChecksTable.tsx"+ ],+ "content_sha256": {+ "frontend-modern/src/features/standalone/AvailabilityChecksTable.tsx": "d8bfb5052c0c150ebf1c11e1672f8776e1caa159805a66774ebaaf57bd66a6a2"+ },+ "routes": [+ "/standalone/availability"+ ],+ "viewports": [+ {+ "width": 390,+ "height": 844+ },+ {+ "width": 600,+ "height": 844+ },+ {+ "width": 768,+ "height": 1000+ },+ {+ "width": 1024,+ "height": 1000+ },+ {+ "width": 1440,+ "height": 1000+ },+ {+ "width": 1920,+ "height": 1000+ }+ ],+ "states": [+ "Private mock stack on main b19c6aaf70 plus this change (rebased onto c4db7a3fba, whose backup-alert revalidation touches no frontend file); seven availability checks, one of them (Frontend Swarm service) observed from two locations and failing",+ "Before: that row's Result cell read 'failed\u2026' with a '2 locations \u00b7 2/2 reporting' chip spilling past the column (the chip's flex and the badge's inline-flex left it inline); the result clipped at every width up to 1440. On phones the check names were cut to 'Workshop do\u2026', 'Frontend Sw\u2026' (7 rows clipped by up to 77px) while Method and Target took the room",+ "After: one line per row, 32-33px at 390, 768 and 1440; the result ('failed') is whole at the cell's right edge and the source chip ('2/2 locations reporting', Settings' wording) truncates to its left with the full text on hover. On phones Method and Target hide (still in the drawer) and check names read in full except one by 3px; the Method cell now truncates with an ellipsis where it clipped"+ ],+ "interactions": [+ "Measured every visible header and cell for clipping at six widths",+ "Measured row heights at three widths",+ "Hovered the source chip for its full text"+ ]+}diff --git a/frontend-modern/src/features/standalone/AvailabilityChecksTable.tsx b/frontend-modern/src/features/standalone/AvailabilityChecksTable.tsxindex 1d7debdaee..18506c5dc2 100644--- a/frontend-modern/src/features/standalone/AvailabilityChecksTable.tsx+++ b/frontend-modern/src/features/standalone/AvailabilityChecksTable.tsx@@ -275,12 +275,12 @@ export const AvailabilityChecksTable: Component<{Check</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-15 md:w-[12%]`}+ class={`${getPlatformTableHeadClassForKind('text')} platform-table-phone-hidden platform-table-mobile-w-15 md:w-[12%]`}>Method</TableHead><TableHead- class={`${getPlatformTableHeadClassForKind('text')} platform-table-mobile-w-25 md:w-[22%]`}+ class={`${getPlatformTableHeadClassForKind('text')} platform-table-phone-hidden platform-table-mobile-w-25 md:w-[22%]`}>Target</TableHead>@@ -329,7 +329,7 @@ export const AvailabilityChecksTable: Component<{const target = () => formatTarget(check);const probeSource = () =>(availability()?.locations?.length ?? 0) > 1- ? `${availability()?.locations?.length} locations · ${availability()?.reportingLocations ?? 0}/${availability()?.expectedLocations ?? availability()?.locations?.length ?? 0} reporting`+ ? `${availability()?.reportingLocations ?? 0}/${availability()?.expectedLocations ?? availability()?.locations?.length ?? 0} locations reporting`: getProbeSourceChipLabel(props.probeAgentOptions ?? [],availability()?.probeAgentId,@@ -366,13 +366,17 @@ export const AvailabilityChecksTable: Component<{</span></div></TableCell>+ {/* On a phone the check name needs the room; the method+ and target stay in the row drawer. */}<TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('text')} platform-table-phone-hidden text-base-content`}>- {method()}+ <span class="block truncate" title={method()}>+ {method()}+ </span></TableCell><TableCell- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}+ class={`${getPlatformTableCellClassForKind('text')} platform-table-phone-hidden text-base-content`}><span class="block truncate" title={target()}>{target()}@@ -381,22 +385,32 @@ export const AvailabilityChecksTable: Component<{<TableCellclass={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}>- <span class={probe()?.toneClassName ?? ''} title={probe()?.detailLabel}>- {result()}- </span>- <Show when={probeSource()}>- {(sourceLabel) => (- <MetadataBadge- tone="muted"- size="xs"- appearance="outline"- class="mt-0.5 flex"- data-availability-probe-source={availability()?.probeAgentId}- >- {sourceLabel()}- </MetadataBadge>- )}- </Show>+ {/* One line, as the table windows rows at a single+ height: the result stays whole at the right edge+ and the probe source takes what room is left,+ truncating with its full text on hover. */}+ <div class="flex min-w-0 items-center justify-end gap-1">+ <Show when={probeSource()}>+ {(sourceLabel) => (+ <MetadataBadge+ tone="muted"+ size="xs"+ appearance="outline"+ class="min-w-0"+ title={sourceLabel()}+ data-availability-probe-source={availability()?.probeAgentId}+ >+ <span class="truncate">{sourceLabel()}</span>+ </MetadataBadge>+ )}+ </Show>+ <span+ class={`shrink-0 ${probe()?.toneClassName ?? ''}`}+ title={probe()?.detailLabel}+ >+ {result()}+ </span>+ </div></TableCell><TableCellclass={`${getPlatformTableCellClassForKind('numeric-value')} hidden tabular-nums lg:table-cell`}diff --git a/frontend-modern/src/features/standalone/__tests__/AvailabilityChecksTable.test.tsx b/frontend-modern/src/features/standalone/__tests__/AvailabilityChecksTable.test.tsxindex 6770b8672c..21bddee5ad 100644--- a/frontend-modern/src/features/standalone/__tests__/AvailabilityChecksTable.test.tsx+++ b/frontend-modern/src/features/standalone/__tests__/AvailabilityChecksTable.test.tsx@@ -206,6 +206,50 @@ describe('AvailabilityChecksTable', () => {expect(screen.getByText('via host-gone')).toBeInTheDocument();});+ it('keeps the result whole on one line beside a multi-location source', () => {+ renderTable([+ availabilityResource({+ availability: {+ targetId: 'mock-availability-frontend',+ protocol: 'https',+ address: 'frontend.demo.pulse.local',+ enabled: true,+ available: false,+ lastChecked: 1_700_000_300_000,+ reportingLocations: 2,+ expectedLocations: 2,+ locations: [+ { locationId: 'pulse', kind: 'pulse' },+ { locationId: 'agent:host-edge-01', kind: 'agent', probeAgentId: 'host-edge-01' },+ ],+ } as unknown as Resource['availability'],+ }),+ ]);++ // Settings words the same fact the same way.+ const source = screen.getByText('2/2 locations reporting');+ // One line (rows are windowed at a single height): the source truncates+ // while the result keeps its full width at the cell's right edge.+ expect(source).toHaveClass('truncate');+ const line = source.closest('div');+ expect(line?.className).toContain('flex');+ const result = line?.lastElementChild as HTMLElement;+ expect(result).toHaveClass('shrink-0');+ expect(result.textContent).not.toBe('');+ });++ it('gives the check name the room on phones by hiding method and target', () => {+ renderTable([availabilityResource()]);+ const headers = screen.getAllByRole('columnheader');+ const method = headers.find((th) => th.textContent?.trim() === 'Method');+ const target = headers.find((th) => th.textContent?.trim() === 'Target');+ expect(method).toHaveClass('platform-table-phone-hidden');+ expect(target).toHaveClass('platform-table-phone-hidden');+ const row = screen.getByText('MQTT power meter').closest('tr')!;+ expect(row.children[1]).toHaveClass('platform-table-phone-hidden');+ expect(row.children[2]).toHaveClass('platform-table-phone-hidden');+ });+it('shows no source chip for locally executed checks', () => {renderTable([availabilityResource()]);