mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-03 18:43:38 +01:00
The Workloads table put a second line under memory and disk cells on
every stopped guest ("N/A / Unavailable", "- / Unavailable"), on every
agentless VM's disk, and "May include cache" under every agentless VM's
memory bar, even at 20%. None of them said why or what to do, and they
broke the row rhythm.
Memory that cannot be read now renders the same dash as an unreadable
disk, with its reason in the cell title, the sparkline's hover title
and assistive text. Disk shows a visible label only for a retained
reading (Last known) or a read the user can fix (No permission, Agent
error). The cache caption appears only when the guest's own memory is
at its warning or critical threshold, the figure that colours the bar
in host-share mode too, which is the case #2762 and #2639 were about;
below that the caveat stays in the title and assistive text.
An unavailable memory explanation names what is known instead of
"Unknown source": a powered-off guest reads "Unavailable while the
guest is powered off." MetricMiniSparkline gains an optional tooltip
so the chart covering the cell can carry that reason without changing
its accessible name.
47 lines
2.5 KiB
JSON
47 lines
2.5 KiB
JSON
{
|
|
"version": 1,
|
|
"base_sha": "9adc1579282d48cfd60d2808f46c51bd5fe203d6",
|
|
"verified_at": "2026-10-12T23:15:00Z",
|
|
"result": "passed",
|
|
"changed_paths": [
|
|
"frontend-modern/src/components/Workloads/GuestRow.tsx",
|
|
"frontend-modern/src/components/Workloads/MetricMiniSparkline.tsx",
|
|
"frontend-modern/src/utils/memoryObservation.ts"
|
|
],
|
|
"content_sha256": {
|
|
"frontend-modern/src/components/Workloads/GuestRow.tsx": "cf79e50b7c7286abf444644a5f5a38e191d5bfe6d72cbf63fc78a97db879bf3c",
|
|
"frontend-modern/src/components/Workloads/MetricMiniSparkline.tsx": "b066231d8c835bd72c5de46046b06f105e1a59cd59ebc9f891b834a15ca87533",
|
|
"frontend-modern/src/utils/memoryObservation.ts": "69eb7fd90bca00dd2ffdfc542f08a41508d1353d43f0fdb03ac654e1b4cfcc15"
|
|
},
|
|
"routes": [
|
|
"/proxmox"
|
|
],
|
|
"viewports": [
|
|
{
|
|
"width": 1900,
|
|
"height": 1100
|
|
},
|
|
{
|
|
"width": 375,
|
|
"height": 812
|
|
}
|
|
],
|
|
"states": [
|
|
"Private mock stack built from main (backend 7676, sidecar Vite 5194), guest memory warning set to 75%",
|
|
"Bars, desktop: stopped VM and container (postgres-replica-01, dev-portal-01) show a dash in MEM and DISK with no caption; MEM title \"Unavailable while the guest is powered off.\"",
|
|
"Bars, desktop: running VM without guest agent (checkout-web-01) shows a dash in DISK with no caption; title carries the Proxmox reason",
|
|
"Bars, desktop: cache-inclusive VMs below warning (orders-api-01 52%, postgres-primary-01 64%) show no caption; caveat is the cell title and sr-only text",
|
|
"Bars, desktop: cache-inclusive VM at warning (redis-cache-01 77%) shows \"May include cache\"; guest-agent VM at 83% (checkout-web-02) shows none",
|
|
"Trends, desktop: sparkline hover title carries the memory/disk reason for stopped and agentless rows; current rows keep \"<name> memory history\"; accessible names unchanged",
|
|
"Rows stay 32px on desktop (33px only on the one caption row) and 44px on phone; no horizontal page overflow",
|
|
"Phone bars and trends: redis-cache-01 shows compact \"Cache?\" unclipped; stopped row shows dashes",
|
|
"Before/after headless captures of the same rows against main GuestRow/memoryObservation for comparison"
|
|
],
|
|
"interactions": [
|
|
"Switched View between Bars and Trends",
|
|
"Reloaded at 1900x1100 and at the 375x812 mobile preset",
|
|
"Lowered the private instance guest memory threshold to 75% via PUT /api/alerts/config and reloaded",
|
|
"Read cell, caption and sparkline title attributes and row heights from the DOM"
|
|
]
|
|
}
|