mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
A focused card deleted on Backspace as well as Delete. The timeline's roving tabindex gives a card focus the moment someone tabs into the grid, Backspace is the reflex "go back" key, and a card carries no delete control at all — so the reflex press removed a medical document with nothing but a transient undo toast behind it. Delete alone now deletes. The key resolution moves into a pure helper in vault-utils so the contract is testable without a render harness, and the card stops keeping that contract in a code comment: the overlay button carries aria-keyshortcuts, and a kbd chip appears while the card holds focus. The label is per-locale (Entf / Suppr / Supr / Canc).