feat(web): add usage page keybinding (#9434)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
authored and GitHub committed 2026-09-24 18:52:03 -07:00
1 parent 91e53e501c
commit 3e2370fbbf
6 files changed
+24

No files matched your search

@@ -78,6 +78,12 @@ it.effect("parses keybinding rules", () =>
});
assert.strictEqual(parsedProjectSearch.command, "projectSearch.toggle");
const parsedUsageOpen = yield* decode(KeybindingRule, {
key: "mod+u",
command: "usage.open",
});
assert.strictEqual(parsedUsageOpen.command, "usage.open");
const parsedThemeEditor = yield* decode(KeybindingRule, {
key: "mod+alt+shift+t",
command: "themeEditor.toggle",
+1
View File
@@ -78,6 +78,7 @@ export const STATIC_KEYBINDING_COMMANDS = [
"commandPalette.toggle",
"filePicker.toggle",
"projectSearch.toggle",
"usage.open",
"theme.select",
"appearance.cycle",
"themeEditor.toggle",
+1
View File
@@ -40,6 +40,7 @@ export const DEFAULT_KEYBINDINGS: ReadonlyArray<KeybindingRule> = [
{ key: "mod+k", command: "commandPalette.toggle", when: "!terminalFocus" },
{ key: "mod+p", command: "filePicker.toggle", when: "!terminalFocus" },
{ key: "mod+shift+f", command: "projectSearch.toggle", when: "!terminalFocus" },
{ key: "mod+u", command: "usage.open", when: "!terminalFocus" },
{ key: "mod+alt+a", command: "theme.select", when: "!terminalFocus" },
{ key: "mod+alt+shift+a", command: "appearance.cycle", when: "!terminalFocus" },
{ key: "mod+alt+shift+t", command: "themeEditor.toggle" },