T-310: numpad digits select prompt-card options
The prompt card's number-key shortcuts matched only digit1..digit9 (the number row); numpad 1-9 fell through to ignored. Add a parallel _numpadKeys list and check it in _onKey so the keypad maps to the same 1-9 selection for Allow/Deny and question options. numpadEnter was already handled. The hasPrimaryFocus guard still lets digits type into a focused note field. Adds four widget tests (numpad Allow/Deny, question option, focused-note swallow). Closes T-310 (under UI epic T-276). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -256,6 +256,11 @@ heading, and (b) bumping `pubspec.yaml` `version:` in the same commit.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Numpad digits now pick permission/question options too.** The prompt card's
|
||||
number-key shortcuts only matched the top number row; numpad `1`-`9` now map to
|
||||
the same 1-9 selection, so the keypad works for Allow/Deny and question options.
|
||||
The note-field guard still lets digits type normally when a note is focused.
|
||||
(T-310)
|
||||
- **The composer no longer jams against the window bottom when the status bar
|
||||
is hidden.** With the bar gone, the bottom-most pane content used to run flush
|
||||
into the window's resize-drag edge; the layout now reserves that edge so the
|
||||
|
||||
Reference in New Issue
Block a user