Redesign the keyboard shortcuts cheatsheet with fuzzy search

One fixed-size list of grouped cards: actions and notes on the leading
side, keys drawn as keycaps in an aligned trailing column that never ends
a line on a joining word. A search field, focused when Ctrl+? opens it,
filters fuzzily by action and keys (exactly by group and note) and
highlights the matched letters.
This commit is contained in:
2026-11-12 15:02:11 +00:00
parent 3e0b1e55c7
commit 3b0da38f70
8 changed files with 745 additions and 229 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class ShellCheatsheet {
void open(BuildContext context) {
if (isOpen) return;
final token = _token = Object();
showKeyboardShortcutsHelp(context).whenComplete(() {
showKeyboardShortcutsHelp(context, focusSearch: true).whenComplete(() {
if (identical(_token, token)) _token = null;
});
}