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
Make drawer charts and attention readable at a glance
rcourtman669ff81ba442
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 3a1c03e22d..fba65abe99 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -1171,6 +1171,13 @@ the plot. Series lines carry `data-history-series`, which is how tests tell aline from a dot. A series without a reading at the inspected time reads`no reading` in the readout itself; there is no separate explanatory line thatwould appear and vanish, and move the chart, as the inspected time changes.+Gridline labels state the plotted scale's value at each line: percent for+utilization, °C for thermals, and a compact rate such as `5.0M/s` for network+and disk I/O, each centred on its SVG gridline. The I/O midpoint used to read+"Avg", which was the scale midpoint, not a measured average (demand ledger+"Numeric axis labels on history I/O charts", issue #1720). A panel with missing+readings says so in one line: `Missing observations: <series>. Lines break+where a reading is missing.`Shared history-chart gridlines must carry numeric labels derived from theplotted scale rather than semantic `Avg` / `Max` placeholders. Byte andbyte-rate axes include their human-readable unit at each gridline, and the@@ -5437,7 +5444,15 @@ one-line facts strip carries OS, address, a healthy last completed backup andtags. The complete inventory sits in a closed "Details"`TechnicalDetailsDisclosure` with `keepMounted`, so its rows stay in thedocument for find-in-page and tests while hidden. Other drawers keep the rule-above until that bet is graded. `DetailSectionTable` keeps the single bordered table at narrow widths+above until that bet is graded. "Worth checking" renders through+`DrawerExceptionList.tsx` directly under the alerts line, above the trend+cards: one compact label/value line per lifted row with the shared+`detailValueToneClass` tone, not a card per section. Each trend card marks its+headline value "now" and states its range as "24h low–high", so the live+number is not read as the last point of the stored line. A guest memory reading+from a cache-inclusive source says "may include cache" on the Memory card+itself; the full note (why, and what to do) is the Details row "About this+reading" and appears once. `DetailSectionTable` keeps the single bordered table at narrow widthswhere density matters, then presents those same canonical rows as boundedsection cards on desktop. Desktop cards share the available row width, stretchto the same row height, and use stable three- or four-column tracks. Andiff --git a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md b/docs/release-control/v6/internal/subsystems/performance-and-scalability.mdindex f3072b101e..288f5d5f54 100644--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md@@ -4003,6 +4003,9 @@ Round dot markers (zero-length round-capped strokes) and the in-place`no reading` readout change presentation only: they add no read, timer or DOMnode per observation beyond the marker's two paths, and the readout no longerinserts or removes a line as the inspected time changes.+Numeric gridline labels are computed from the scale the panel already holds;+the compact "Worth checking" list and the trend cards' "now" and "24h low–high"+labels reuse rows and ranges already derived. None adds a read or timer.The default stored-history legend resolves one latest timestamp from thatsame bounded, normalized panel index, then looks up each configured series atdiff --git a/frontend-modern/browser-verification/e1779adf7ecbd6b7.json b/frontend-modern/browser-verification/e1779adf7ecbd6b7.jsonnew file mode 100644index 0000000000..78c2e77efb--- /dev/null+++ b/frontend-modern/browser-verification/e1779adf7ecbd6b7.json@@ -0,0 +1,47 @@+{+ "version": 1,+ "base_sha": "19f1052321b2603d22415a6410b4bbfbc05a60ce",+ "verified_at": "2026-10-13T14:57:38Z",+ "result": "passed",+ "changed_paths": [+ "frontend-modern/src/components/Workloads/DrawerExceptionList.tsx",+ "frontend-modern/src/components/Workloads/DrawerTrendCards.tsx",+ "frontend-modern/src/components/Workloads/GuestDrawerHistory.tsx",+ "frontend-modern/src/components/Workloads/GuestDrawerOverview.tsx",+ "frontend-modern/src/components/Workloads/NodeDrawerOverview.tsx",+ "frontend-modern/src/components/shared/DetailSectionTable.tsx",+ "frontend-modern/src/components/shared/TechnicalDetailsDisclosure.tsx"+ ],+ "content_sha256": {+ "frontend-modern/src/components/Workloads/DrawerExceptionList.tsx": "7caf0baaef1d2b7ea2f32edc9d23cd96bac3c34ec27c816f06ece9b000f5e65f",+ "frontend-modern/src/components/Workloads/DrawerTrendCards.tsx": "002761ba428458925ce66f369bf83bc30a562f50fc8c89f2c60be2f02322ecc9",+ "frontend-modern/src/components/Workloads/GuestDrawerHistory.tsx": "500b8ab7e11bc114bc362766cb76fdb66451e45a3b0bea085f3b4e24c49353c8",+ "frontend-modern/src/components/Workloads/GuestDrawerOverview.tsx": "217f1222302741efcdf957517c2dd311dae67d0f7c3982e88491f93f3a30e652",+ "frontend-modern/src/components/Workloads/NodeDrawerOverview.tsx": "4defc2af9d598817adfc2b1232caaa429749a214f6a4924731d96ceb29c54118",+ "frontend-modern/src/components/shared/DetailSectionTable.tsx": "8f1502d6cc0a543d79b4266db84fba0426487cb9af688092499d81c01af593fa",+ "frontend-modern/src/components/shared/TechnicalDetailsDisclosure.tsx": "7c843b8d7c20e6e3bae0ecc0df4c4dbbe8331466a231d5dad3941759d2b5701a"+ },+ "routes": [+ "/proxmox/overview"+ ],+ "viewports": [+ {+ "width": 1440,+ "height": 900+ },+ {+ "width": 390,+ "height": 844+ }+ ],+ "states": [+ "private preview: origin/main plus this change and the stacked update-check change, frontend embedded, mock mode with a seeded metrics store; headless Chromium on pulse-dev through a reverse tunnel; full-resolution screenshots of every drawer tab reviewed by eye at 1440 and 390px",+ "guest artifact-cache-310 Overview: 'No active alerts', then a one-line Worth checking 'Last completed backup 21d ago 2026-09-22 ...' in the amber list, then CPU/Memory/Disk cards with 'now' beside each value and '24h low\u2013high' ranges; Memory card reads '2.56 GB of 5.04 GB \u00b7 may include cache'; no caveat paragraph; the full note appears once in Details",+ "guest History 24h and 7d: gridline labels 100%/50%/0%, 15M/s / 7.4M/s / 0, 2.2M/s / 1.1M/s / 0, each centred on its gridline; missing-readings note is one line",+ "node Analytics A Overview and History 7d: numeric I/O axes (32M/s, 55M/s) and thermals 60\u00b0C/51\u00b0C/41\u00b0C on their gridlines; continuous lines",+ "390px phone: Worth checking wraps within its box, cards stack full width, axis labels readable, no horizontal overflow"+ ],+ "interactions": [+ "expanded a guest and a node, opened Details, switched History to 24 hours and to 7 days, opened Manage, in both viewports"+ ]+}diff --git a/frontend-modern/src/components/Workloads/DrawerExceptionList.tsx b/frontend-modern/src/components/Workloads/DrawerExceptionList.tsxnew file mode 100644index 0000000000..52df9532b2--- /dev/null+++ b/frontend-modern/src/components/Workloads/DrawerExceptionList.tsx@@ -0,0 +1,49 @@+import { For, Show, type Component } from 'solid-js';++import { detailValueToneClass } from '@/components/shared/DetailSectionTable';+import type { DetailRow } from '@/components/shared/detailSectionModel';++interface DrawerExceptionListProps {+ rows: DetailRow[];+ testId: string;+}++// "Worth checking" sits directly under the alerts line: each lifted fact is one+// line (label, then its value), not a card per section. A row's own content+// (e.g. a backup's age and date) flows inline instead of stacking. The value+// keeps the shared detail-row tone, so a late backup reads as it does in Details.+export const DrawerExceptionList: Component<DrawerExceptionListProps> = (props) => (+ <Show when={props.rows.length > 0}>+ <section+ data-testid={props.testId}+ aria-label="Worth checking"+ class="rounded-md border border-amber-300 bg-amber-50/60 px-3 py-2 dark:border-amber-700/60 dark:bg-amber-900/15"+ >+ <h3 class="mb-1 text-[11px] font-semibold uppercase tracking-wide text-amber-800 dark:text-amber-200">+ Worth checking+ </h3>+ <table class="w-full border-collapse text-xs">+ <tbody>+ <For each={props.rows}>+ {(row) => (+ <tr class="align-baseline">+ <th+ scope="row"+ class="w-px whitespace-nowrap py-0.5 pr-3 text-left font-normal text-muted"+ >+ {row.label}+ </th>+ <td+ class={`py-0.5 font-medium wrap-break-word [&>*]:mt-0 [&>*]:inline [&>*+*]:ml-1.5 ${detailValueToneClass(row.tone)}`}+ title={row.title}+ >+ {row.valueContent ?? row.value}+ </td>+ </tr>+ )}+ </For>+ </tbody>+ </table>+ </section>+ </Show>+);diff --git a/frontend-modern/src/components/Workloads/DrawerTrendCards.tsx b/frontend-modern/src/components/Workloads/DrawerTrendCards.tsxindex e60832f4fb..033a2e1046 100644--- a/frontend-modern/src/components/Workloads/DrawerTrendCards.tsx+++ b/frontend-modern/src/components/Workloads/DrawerTrendCards.tsx@@ -171,7 +171,9 @@ const DrawerTrendCards: Component<DrawerTrendCardsProps> = (props) => {return '—';});const valueQualifier = () => {- if (typeof card.current === 'number') return '';+ // Name the big number's time, so it is not read as the last point+ // of the 24h line (stored history can trail the live reading).+ if (typeof card.current === 'number') return 'now';if (card.deferred?.valueLabel) return card.deferred.valueLabel;if (card.deferred && typeof card.deferred.lastKnownValue === 'number') {return 'last known';@@ -184,7 +186,7 @@ const DrawerTrendCards: Component<DrawerTrendCardsProps> = (props) => {if (points().length === 1) return '24h: one reading so far';const low = formatValue(r.low, card.unit);const high = formatValue(r.high, card.unit);- return low === high ? `24h: steady at ${low}` : `24h: ${low}–${high}`;+ return low === high ? `24h: steady at ${low}` : `24h low–high: ${low}–${high}`;};const ariaLabel = () => {const r = range();diff --git a/frontend-modern/src/components/Workloads/GuestDrawerHistory.tsx b/frontend-modern/src/components/Workloads/GuestDrawerHistory.tsxindex dea5016d41..59b41b66e1 100644--- a/frontend-modern/src/components/Workloads/GuestDrawerHistory.tsx+++ b/frontend-modern/src/components/Workloads/GuestDrawerHistory.tsx@@ -23,6 +23,7 @@ import {} from '@/components/shared/historyChartModel';import { isRangeLocked, loadRuntimeCapabilities, maxHistoryDays } from '@/stores/license';import { getAPIReadAccessErrorMessage } from '@/utils/apiAccessError';+import { formatCompactSpeed } from '@/utils/format';import {GUEST_DRAWER_HISTORY_GROUPS,@@ -116,20 +117,19 @@ export const GuestDrawerHistoryRangeSelect: Component<GuestDrawerHistoryRangeSel</FormSelect>);-const getAxisLabel = (unit: string, pct: number): string => {- if (unit === '%') {- if (pct === 0) return '100%';- if (pct === 0.5) return '50%';- return '0%';- }- if (unit === 'C') {- if (pct === 0) return 'Max';- if (pct === 0.5) return 'Mid';- return 'Min';- }- if (pct === 0) return 'Max';- if (pct === 0.5) return 'Avg';- return '0';+// Gridline labels state the scale's actual value at each line, so a reader+// can tell a KB/s peak from a MB/s one. ("Avg" used to mark the midpoint of+// the scale, which is not the measured average.)+const getAxisLabel = (+ unit: string,+ pct: number,+ scale: { minValue: number; maxValue: number },+): string => {+ const value = scale.maxValue - pct * (scale.maxValue - scale.minValue);+ if (unit === '%') return `${Math.round(value)}%`;+ if (unit === 'C') return `${Math.round(value)}°C`;+ if (unit === 'B/s') return value <= 0 ? '0' : `${formatCompactSpeed(value)}/s`;+ return `${Math.round(value)}`;};const clampNumber = (value: number, min: number, max: number): number =>@@ -310,7 +310,7 @@ const GuestDrawerHistoryGroupChart: Component<GuestDrawerHistoryGroupChartProps>.filter((item) => item.segments.length > 1).map((item) => item.label);return labels.length > 0- ? `Missing observations: ${labels.join(', ')}. Lines stop where a series has no reading at another stored time in this panel. This does not identify the cause or duration of a monitoring outage.`+ ? `Missing observations: ${labels.join(', ')}. Lines break where a reading is missing.`: null;});const drawableSeries = createMemo(() =>@@ -479,11 +479,13 @@ const GuestDrawerHistoryGroupChart: Component<GuestDrawerHistoryGroupChartProps><For each={[0, 0.5, 1]}>{(tick) => (<span- class={`pointer-events-none absolute left-0 w-8 text-right text-[10px] text-muted ${- tick === 0 ? 'top-1' : tick === 0.5 ? 'top-1/2 -translate-y-1/2' : 'bottom-3'+ // Centred on the SVG gridlines at y = 8, 41 and 74 of the 92-unit+ // viewBox (8.7%, 44.6%, 80.4%), so each label sits on its line.+ class={`pointer-events-none absolute left-0 w-8 -translate-y-1/2 text-right text-[10px] tabular-nums text-muted ${+ tick === 0 ? 'top-[8.7%]' : tick === 0.5 ? 'top-[44.6%]' : 'top-[80.4%]'}`}>- {getAxisLabel(props.group.unit, tick)}+ {getAxisLabel(props.group.unit, tick, scale())}</span>)}</For>diff --git a/frontend-modern/src/components/Workloads/GuestDrawerOverview.tsx b/frontend-modern/src/components/Workloads/GuestDrawerOverview.tsxindex af688764de..4a56820db0 100644--- a/frontend-modern/src/components/Workloads/GuestDrawerOverview.tsx+++ b/frontend-modern/src/components/Workloads/GuestDrawerOverview.tsx@@ -12,6 +12,7 @@ import {TechnicalDetailsSection,} from '@/components/shared/TechnicalDetailsDisclosure';import { DrawerAttentionSection } from '@/components/shared/DrawerAttentionSection';+import { DrawerExceptionList } from './DrawerExceptionList';import type { Alert } from '@/types/api';import { AvailabilityProbeStatusCards } from '@/components/Infrastructure/AvailabilityProbeStatusCard';import { HOST_AGENT_STOPPED_REPORTING_REASON } from '@/components/Infrastructure/resourceDetailMappers';@@ -389,7 +390,10 @@ export function GuestDrawerOverview(props: GuestDrawerOverviewProps) {if (!memory || !hasReading || memory.usageUnavailable || !((memory.total ?? 0) > 0)) {return undefined;}- return `${formatBytes(memory.used ?? 0)} of ${formatBytes(memory.total ?? 0)}`;+ const bytes = `${formatBytes(memory.used ?? 0)} of ${formatBytes(memory.total ?? 0)}`;+ // The short qualifier sits on the number it qualifies; the full note (why,+ // and what to do) is the Details row "About this reading".+ return memoryReading()?.mayIncludeCache ? `${bytes} · may include cache` : bytes;};const diskDetail = () => {const disk = props.guest.disk;@@ -465,6 +469,8 @@ export function GuestDrawerOverview(props: GuestDrawerOverviewProps) {</p></Show>+ <DrawerExceptionList testId="guest-drawer-exceptions" rows={exceptionRows()} />+<Show when={props.historyTarget}><Suspense fallback={<div class="h-28" aria-hidden="true" />}><DrawerTrendCards@@ -474,22 +480,6 @@ export function GuestDrawerOverview(props: GuestDrawerOverviewProps) {/></Suspense></Show>- {/* Visible text, not a tooltip: the caveat and what to do about it- must reach touch and keyboard users too. */}- <Show when={memoryReading()?.cacheNote}>- {(note) => (- <p data-testid="drawer-memory-reading-note" class="text-xs leading-snug text-muted">- {note()}- </p>- )}- </Show>-- <Show when={exceptionRows().length > 0}>- <TechnicalDetailsSection- dataTestId="guest-drawer-exceptions"- sections={[{ label: 'Worth checking', rows: exceptionRows() }]}- />- </Show><Show when={sectionsByLabel().filesystems.length > 0}><TechnicalDetailsSectiondiff --git a/frontend-modern/src/components/Workloads/NodeDrawer.test.tsx b/frontend-modern/src/components/Workloads/NodeDrawer.test.tsxindex 34f297f84b..57e29384aa 100644--- a/frontend-modern/src/components/Workloads/NodeDrawer.test.tsx+++ b/frontend-modern/src/components/Workloads/NodeDrawer.test.tsx@@ -396,6 +396,29 @@ describe('NodeDrawer', () => {});describe('NodeDrawer Overview trends', () => {+ it('lists Worth checking as one line under the alerts line, above the trend cards', async () => {+ render(() => (+ <NodeDrawer+ node={makeNode({+ pendingUpdatesStatus: 'unavailable',+ pendingUpdatesReason: 'source_unavailable',+ })}+ />+ ));+ const cpu = await screen.findByTestId('drawer-trend-card-cpu');+ const worth = screen.getByTestId('node-drawer-exceptions');+ expect(+ worth.compareDocumentPosition(cpu) & window.Node.DOCUMENT_POSITION_FOLLOWING,+ ).toBeTruthy();+ const row = within(worth).getByText('Updates').closest('tr')!;+ expect(row).toHaveTextContent('Unavailable · Proxmox source unavailable');+ expect(+ within(row)+ .getByText(/Proxmox source unavailable/)+ .closest('td'),+ ).toHaveClass('text-amber-700');+ });+const guestAlert = makeAlert({id: 'guest-memory',resourceId: 'qemu-281',diff --git a/frontend-modern/src/components/Workloads/NodeDrawerOverview.tsx b/frontend-modern/src/components/Workloads/NodeDrawerOverview.tsxindex 940c179873..db503cd32c 100644--- a/frontend-modern/src/components/Workloads/NodeDrawerOverview.tsx+++ b/frontend-modern/src/components/Workloads/NodeDrawerOverview.tsx@@ -8,6 +8,7 @@ import {} from '@/components/shared/TechnicalDetailsDisclosure';import { HOST_METRICS_HISTORY_GROUPS } from '@/components/shared/hostMetricsHistoryModel';import { DrawerAttentionSection } from '@/components/shared/DrawerAttentionSection';+import { DrawerExceptionList } from './DrawerExceptionList';import {compactDetailRows,compactDetailSections,@@ -565,6 +566,8 @@ export function NodeDrawerOverview(props: NodeDrawerOverviewProps) {</p></Show>+ <DrawerExceptionList testId="node-drawer-exceptions" rows={exceptionRows()} />+<Show when={props.historyTarget}><Suspense fallback={<div class="h-28" aria-hidden="true" />}><DrawerTrendCards@@ -575,13 +578,6 @@ export function NodeDrawerOverview(props: NodeDrawerOverviewProps) {</Suspense></Show>- <Show when={exceptionRows().length > 0}>- <TechnicalDetailsSection- dataTestId="node-drawer-exceptions"- sections={[{ label: 'Worth checking', rows: exceptionRows() }]}- />- </Show>-<Show when={sensorSections().length > 0}><TechnicalDetailsSection dataTestId="node-drawer-sensors" sections={sensorSections()} /></Show>diff --git a/frontend-modern/src/components/Workloads/__tests__/DrawerTrendCards.test.tsx b/frontend-modern/src/components/Workloads/__tests__/DrawerTrendCards.test.tsxindex bffeb88f5d..76ee7a3c44 100644--- a/frontend-modern/src/components/Workloads/__tests__/DrawerTrendCards.test.tsx+++ b/frontend-modern/src/components/Workloads/__tests__/DrawerTrendCards.test.tsx@@ -45,13 +45,13 @@ describe('DrawerTrendCards', () => {.mockResolvedValue(response({ memory: [point(0, 84), point(12, 84.6), point(23, 85.6)] }));render(() => <DrawerTrendCards target={target} enabled cards={[memoryCard()]} />);- await waitFor(() => expect(card()).toHaveTextContent('24h: 84.0%–85.6%'));+ await waitFor(() => expect(card()).toHaveTextContent('24h low–high: 84.0%–85.6%'));expect(fetch).toHaveBeenCalledTimes(1);expect(fetch.mock.calls[0][0]).toMatchObject({ ...target, range: '24h' });expect(within(card()).getByText('85.4%')).toBeInTheDocument();expect(card()).toHaveTextContent('3.42 GB of 4.00 GB');expect(within(card()).getByRole('img')).toHaveAccessibleName(- 'Memory 85.4%, 84.0% to 85.6% over 24 hours',+ 'Memory now 85.4%, 84.0% to 85.6% over 24 hours',);// A current reading is not drawn as a trend point; three stored points.expect(card().querySelector('path')?.getAttribute('d')?.match(/[ML]/g)).toHaveLength(3);@@ -137,7 +137,7 @@ describe('DrawerTrendCards', () => {cards={[memoryCard(), memoryCard({ metric: 'cpu', label: 'CPU', current: 4 })]}/>));- await waitFor(() => expect(card()).toHaveTextContent('24h: 48.0%–99.0%'));+ await waitFor(() => expect(card()).toHaveTextContent('24h low–high: 48.0%–99.0%'));expect(card('cpu')).toHaveTextContent('24h: one reading so far');});@@ -180,14 +180,14 @@ describe('DrawerTrendCards', () => {.mockRejectedValue(new Error('boom'));const [enabled, setEnabled] = createSignal(true);render(() => <DrawerTrendCards target={target} enabled={enabled()} cards={[memoryCard()]} />);- await waitFor(() => expect(card()).toHaveTextContent('24h: 84.0%–85.0%'));+ await waitFor(() => expect(card()).toHaveTextContent('24h low–high: 84.0%–85.0%'));setEnabled(false);setEnabled(true);await waitFor(() => expect(fetch).toHaveBeenCalledTimes(2));await waitFor(() =>expect(card()).toHaveTextContent('Refresh failed. Showing the last loaded trend.'),);- expect(card()).toHaveTextContent('24h: 84.0%–85.0%');+ expect(card()).toHaveTextContent('24h low–high: 84.0%–85.0%');});it('stops polling while hidden and reads again when shown', async () => {diff --git a/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.gaps.test.tsx b/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.gaps.test.tsxindex c4e1cb3f1a..295521efa9 100644--- a/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.gaps.test.tsx+++ b/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.gaps.test.tsx@@ -61,9 +61,7 @@ describe('drawer History does not join missing stored observations', () => {expect(paths('#10b981')).toHaveLength(0);expect(marks('disk')).toHaveLength(2);expect(note()).toHaveTextContent('Missing observations: Memory, Disk.');- expect(note()).toHaveTextContent(- 'Lines stop where a series has no reading at another stored time in this panel.',- );+ expect(note()).toHaveTextContent('Lines break where a reading is missing.');expect(fetch).toHaveBeenCalledTimes(1);});diff --git a/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.pointer.test.tsx b/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.pointer.test.tsxindex 1dc6b8fe63..5bd0afe156 100644--- a/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.pointer.test.tsx+++ b/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.pointer.test.tsx@@ -84,7 +84,7 @@ describe('GuestDrawerHistory common-time pointer inspection', () => {expect(within(utilization()).getByRole('img', { name: 'Utilization history' }),).toHaveAccessibleDescription(- `${new Date(time).toLocaleString()}. CPU 11.0%. Memory no observation. Disk no observation. Missing observations: CPU, Memory. Lines stop where a series has no reading at another stored time in this panel. This does not identify the cause or duration of a monitoring outage.`,+ `${new Date(time).toLocaleString()}. CPU 11.0%. Memory no observation. Disk no observation. Missing observations: CPU, Memory. Lines break where a reading is missing.`,);fireEvent.pointerLeave(plot);expect(utilization()).toHaveTextContent('CPU43.0%');diff --git a/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.source-isolation.test.tsx b/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.source-isolation.test.tsxindex a3c1c7a3a6..1186c2e96d 100644--- a/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.source-isolation.test.tsx+++ b/frontend-modern/src/components/Workloads/__tests__/GuestDrawerHistory.source-isolation.test.tsx@@ -255,7 +255,9 @@ describe('GuestDrawerHistory source isolation', () => {/>));await waitFor(() =>- expect(screen.getByTestId('drawer-trend-card-cpu')).toHaveTextContent('24h: 87.0%–88.0%'),+ expect(screen.getByTestId('drawer-trend-card-cpu')).toHaveTextContent(+ '24h low–high: 87.0%–88.0%',+ ),);overview.unmount();diff --git a/frontend-modern/src/components/shared/DetailSectionTable.tsx b/frontend-modern/src/components/shared/DetailSectionTable.tsxindex e0ab46d893..b5c5aae7d8 100644--- a/frontend-modern/src/components/shared/DetailSectionTable.tsx+++ b/frontend-modern/src/components/shared/DetailSectionTable.tsx@@ -17,7 +17,7 @@ export {type DetailValueTone,} from './detailSectionModel';-const detailValueToneClass = (tone: DetailValueTone | undefined): string => {+export const detailValueToneClass = (tone: DetailValueTone | undefined): string => {if (tone === 'accent') return 'text-cyan-700 dark:text-cyan-300';if (tone === 'success') return 'text-emerald-700 dark:text-emerald-300';if (tone === 'warning') return 'text-amber-700 dark:text-amber-300';diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.tsindex da004b459c..41a3c2f4dc 100644--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts@@ -8765,6 +8765,16 @@ describe('shared primitive guardrails', () => {// disclosure that holds a surface's complete record (drawer Details).expect(disclosureSource).toContain('<Show when={props.keepMounted || expanded()}>');expect(disclosureSource).toContain('keepMounted?: boolean;');+ // The drawer's compact Worth checking list reuses the detail-row tone+ // mapping rather than keeping a local palette that could drift.+ expect(readFrontendSource('src/components/shared/DetailSectionTable.tsx')).toContain(+ 'export const detailValueToneClass',+ );+ const exceptionListSource = readFrontendSource(+ 'src/components/Workloads/DrawerExceptionList.tsx',+ );+ expect(exceptionListSource).toContain('detailValueToneClass(row.tone)');+ expect(exceptionListSource).not.toMatch(/text-(amber|rose|red)-700/);expect(disclosureSource).toContain('sections?: DetailSection[]');expect(disclosureSource).toContain('<DetailSectionTable');expect(disclosureSource).toContain('export const TechnicalDetailsSection');diff --git a/frontend-modern/src/components/shared/TechnicalDetailsDisclosure.tsx b/frontend-modern/src/components/shared/TechnicalDetailsDisclosure.tsxindex 411cb1585a..2de0756089 100644--- a/frontend-modern/src/components/shared/TechnicalDetailsDisclosure.tsx+++ b/frontend-modern/src/components/shared/TechnicalDetailsDisclosure.tsx@@ -57,7 +57,7 @@ export const TechnicalDetailsDisclosure: Component<TechnicalDetailsDisclosureProclass={props.class ?? 'rounded-sm border border-border bg-surface px-2 py-1.5'}onToggle={(event) => setExpanded(event.currentTarget.open)}>- <summary class="flex min-h-11 cursor-pointer list-none flex-wrap items-center text-[11px] font-medium text-base-content sm:min-h-0">+ <summary class="flex min-h-11 cursor-pointer list-none flex-wrap items-center text-xs font-medium text-base-content sm:min-h-0"><spanaria-hidden="true"class={`mr-1 inline-block text-muted transition-transform ${expanded() ? 'rotate-90' : ''}`}