/ opens a pop-up of what each key does now; Tab steps through matches #8

Merged
nelson merged 2 commits from fzt2-4-key-popup into main 2026-11-11 20:30:39 -08:00
Owner

PR 1 of 4. / opens a pop-up over the menu or list you're in. Its rows are what each key does at that moment: a verb you can search, a description and the keys. Picking a row does it in the menu underneath, which keeps its search and cursor. The rows come from effect functions that mirror the key handlers, and TestKeyActionsListExactlyWhatActs fails if a key is listed without acting, or acts without being listed.

What changes for users: / is no longer typed into a search, and its old jobs (start a search, leave normal mode) are now pop-up rows. Tab completes to the top match, then Tab and Shift+Tab step through the ranking from what was typed. Tab no longer opens a folder, except in a folder picker. Host-drawn frontends get VisibleRow.Keys and PromptState.KeyPopup. fzt-terminal draws the pop-up in the next PR.

Work package: FZT2-4 https://openproject.romaine.life/wp/FZT2-4

PR 1 of 4. `/` opens a pop-up over the menu or list you're in. Its rows are what each key does at that moment: a verb you can search, a description and the keys. Picking a row does it in the menu underneath, which keeps its search and cursor. The rows come from effect functions that mirror the key handlers, and `TestKeyActionsListExactlyWhatActs` fails if a key is listed without acting, or acts without being listed. What changes for users: `/` is no longer typed into a search, and its old jobs (start a search, leave normal mode) are now pop-up rows. Tab completes to the top match, then Tab and Shift+Tab step through the ranking from what was typed. Tab no longer opens a folder, except in a folder picker. Host-drawn frontends get `VisibleRow.Keys` and `PromptState.KeyPopup`. fzt-terminal draws the pop-up in the next PR. Work package: [FZT2-4](https://openproject.romaine.life/wp/FZT2-4) https://openproject.romaine.life/wp/FZT2-4
/ opens a pop-up of what each key does now; Tab steps through matches (FZT2-4)
Some checks failed
CI / test (pull_request) Has been cancelled
32f3cef9ce
Place the / pop-up below its row and map clicks through it (FZT2-4)
All checks were successful
CI / test (pull_request) Successful in 1m30s
f01ff88ec9
nelson merged commit cab093f17a into main 2026-11-11 20:30:39 -08:00
nelson deleted branch fzt2-4-key-popup 2026-11-11 20:30:39 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/fzt!8
No description provided.