mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-26 21:47:20 +00:00
81abd9a1d9
Desktop threshold edits could save before Cancel ran, or when a resize replaced the table with cards. Four implementations of the numeric controls also made bounds and Off/inherit handling drift-prone. Use one numeric editor for global defaults and resource overrides. The row owns focus-based saving, and the responsive table transfers drafts and metric focus between layouts. Editing fits the table, host cards retain cluster context, and backup/snapshot defaults remain separate from numeric thresholds. Clearing a resource override also shows inherited Off, disables its slider, and enables once to the factory threshold when the parent is Off. Existing saved zero, negative and inherited values keep their meanings. Validation: 209 targeted tests across six files, full frontend type-check, frontend and embedded Go builds, and current-build Playwright checks at 1920, 1280, 900 and 390px. Guest Off persistence and TrueNAS per-type fallback also checked at 2400 and 390px, with save/reload, keyboard focus, cancellation, both resize directions and pixel inspection.