From 35b136944656c9ff9c3b064f47be08224f76c1f9 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 24 Sep 2026 18:56:08 +0200 Subject: feat: close the calendar's event pane with Escape Escape was scoped to the pane and only cancelled an edit, so once an event was selected nothing closed the pane again. It is a window shortcut now, labelled Close event: with no edit open it clears the selection and the pane hides. With an edit open it cancels only when focus is inside the pane, so a stray Escape after clicking the grid cannot discard the form. That guard needed the month grid to take focus on a click, which it never did; the view-scoped PgUp/PgDn, Delete and Ctrl+Z were likewise reachable only by Tab until now. Co-Authored-By: Claude Opus 5.5 --- docs/superpowers/specs/2026-09-24-calendar-design.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/superpowers/specs/2026-09-24-calendar-design.md') diff --git a/docs/superpowers/specs/2026-09-24-calendar-design.md b/docs/superpowers/specs/2026-09-24-calendar-design.md index a57bb26..f58f372 100644 --- a/docs/superpowers/specs/2026-09-24-calendar-design.md +++ b/docs/superpowers/specs/2026-09-24-calendar-design.md @@ -312,7 +312,9 @@ Edit and View holding every action; `Ctrl+N` New, `Ctrl+E` Edit, `Delete`, `Home` would otherwise fire while the cursor is in the edit form's Title field, deleting the event or moving the month instead of editing text. `Delete`, `PgUp`/`PgDn` and `Home` sit on the stacked views; Undo and Redo sit there too; -Escape is scoped to `EventPane`. `Ctrl+N`, `Ctrl+E` and `Ctrl+W` stay window +Escape is a window shortcut: it closes the details pane (the pane is hidden +while nothing is selected) and cancels an edit only when focus is inside +`EventPane`. `Ctrl+N`, `Ctrl+E` and `Ctrl+W` stay window shortcuts, since no text field wants them. **i18n.** Every string in `tr()`; the Italian `.ts` refreshed, `lrelease` -- cgit v1.2.3