v0.309.0: the notification page shows three group switches; details and cooldown under Részletek (R-388 slice 1, decision 200)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -1,3 +1,33 @@
|
||||
## v0.309.0 — the simpler notification page: three group switches (R-388 slice 1) (2026-10-12)
|
||||
|
||||
**MinAgent: 0.131.0** (unchanged — no agent call changed). **No wire change, no hub change:** the page still saves the
|
||||
same `enabled_events` list. Design `08-alarm-ladder.md` §8.1, `09` §3 decision 200; operator answers 2026-10-12 evening
|
||||
(Q1 „as picked": group 3 on for households; Q2 „as picked": the cooldown field under „Részletek").
|
||||
|
||||
- **R-388 slice 1 — three switches instead of eighteen.** The notification page shows „A gépem és a meghajtóim" /
|
||||
"My machine and drives", „Az alkalmazásaim" / "My apps" and „Amit mi intézünk" / "What we handle", each one switch
|
||||
with one sentence of what it sends. Membership is §8.1's table (`settings.NotificationGroups`; all 18 switches of
|
||||
v0.308.0 are in it, each in exactly one group). Switching a group on or off writes or clears all its detectors.
|
||||
A group whose saved detectors are partly on shows „egyedi" / "custom" and saving the page without touching it
|
||||
stores the list **unchanged** — no household's saved choice changes. The 18 per-detector switches (now ordered by
|
||||
group) and the cooldown field sit under a „Részletek" / "Details" fold (`<details>`, no script). A form without
|
||||
the new group fields (an old page left open) is handled exactly as before.
|
||||
- **Not changed, for the lead to decide:** `settings.DefaultEnabledEvents` fills **no** group completely —
|
||||
machine misses `storage_reconnected`; apps misses `app_start_failed` (OFF by the R-329 ruling, 2026-08-23);
|
||||
„what we handle" misses `backup_integrity_failed`, `crossdrive_failed`, `health_recovered`. So a fresh box (and
|
||||
every household on today's default) sees all three groups as „egyedi". Pinned by `TestR388_DefaultListAsGroups`.
|
||||
- Tests (`internal/web/r388_notif_groups_test.go`, the real render + the real save over a temp-file `Settings`,
|
||||
posting back exactly what the rendered form carries): `TestR388_EveryPageSwitchIsInExactlyOneGroup`,
|
||||
`TestR388_EachGroupRoundTrips` (RED without the switch-off branch: „group machine switched off still stores
|
||||
[...] — the ticked details overrode the group switch"; RED without the switch-on branch: „group machine switched
|
||||
on stored [], want exactly [...]"), `TestR388_CustomGroupSavedBackUnchanged` (RED with an unticked group always
|
||||
clearing: „an untouched save CHANGED the stored list"), `TestR388_CustomGroupSwitchedOnTakesAll`,
|
||||
`TestR388_FullListRendersThreeGroupsOn`, `TestR388_DefaultListAsGroups`, `TestR388_DetailsFoldSavesAnIndividualSwitch`.
|
||||
- **Parity fixtures:** `settings_notifications_hub` and `settings_notifications_clear_confirm` re-captured for this
|
||||
template change (the switch list regrouped under the fold, the three group switches added; the two old section
|
||||
labels „Hibák és figyelmeztetések:" / „Tájékoztató:" removed with their keys); a new case
|
||||
`settings_notifications_groups_custom` (every group „egyedi") captured when born. No other fixture moved.
|
||||
|
||||
## v0.308.0 — the controller batch of 2026-10-12: clear-address warning, a secret sweep over every page, NVMe heat, the share globe, Hungarian dates and numbers (2026-10-12)
|
||||
|
||||
**MinAgent: 0.131.0** (unchanged — no agent call changed). **R-266 needs the hub of the same day** to act on the new
|
||||
|
||||
Reference in New Issue
Block a user