v0.171.0: disk-health card device-model label (pairs with agent v0.95.0)

agentapi.SmartSummary.ModelName mirrors the agent's model_name; the card row label
prefers the device model over the raw name/UUID, falling back to Name(+hint) on an
old agent. Additive. Test + red-proof (drop fallback -> A4 fails).
This commit is contained in:
2026-07-25 08:23:30 +02:00
parent de14eedb9f
commit f6a8249593
4 changed files with 42 additions and 3 deletions
+9
View File
@@ -1,5 +1,14 @@
## Changelog
### v0.171.0 — Disk-health card: device-model label (pairs with agent v0.95.0) (2026-07-25)
`agentapi.SmartSummary` gains `ModelName` (mirrors the agent v0.95.0 `model_name`); the "Lemezek
állapota" card row label now prefers the device model ("TOSHIBA MQ04ABF100") over the raw storage
name/UUID, falling back to Name (+ speed hint) on an older agent or a modelless disk. With agent
v0.95.0 the system SSD and the USB drive now carry real SMART, so the card shows real verdicts
(Rendben) with human labels instead of "Nincs adat" on a raw UUID. Additive; old-agent payloads render
exactly as before. Test `TestDiskDisplayLabel_PrefersModel` (red-proof: drop the fallback → A4 fails).
### v0.170.0 — Root → Indítópult; gofmt normalization; stale-note fix (2026-07-25)
- **`/` is now the Indítópult** (operator ruling, reversing the v0.163.0 landing choice). `GET /` 302s