Compare commits

...

2 Commits

Author SHA1 Message Date
librelad
b04c2e242f Merge claude/2 2026-05-28 23:22:49 +01:00
librelad
e825749041 ux(system): replace metric page's dev-jargon subline with a plain description
"Live · binary ring backed" meant nothing to a user; show a per-metric
sentence describing what the chart is (e.g. "Root-filesystem usage over
time.") instead.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: librelad <librelad@digitalangels.vip>
2026-05-28 23:22:49 +01:00

View File

@ -211,9 +211,18 @@ class SystemMetricPage {
}
}
// Plain-language description of what the page shows, per metric.
_subline() {
// Stub — populated more fully once data lands (sample count + tier).
return 'Live · binary ring backed';
const descs = {
cpu: 'Processor load over time, across all cores.',
mem: 'Memory in use over time, as a share of total RAM.',
swap: 'Swap in use over time, as a share of total swap.',
disk: 'Root-filesystem usage over time.',
load1: 'System load average (1-minute) over time.',
net_rx: 'Inbound network throughput over time.',
net_tx: 'Outbound network throughput over time.',
};
return (this.metric && descs[this.metric.key]) || 'Live history over time.';
}
async _loadRange() {