feat(shortcuts): toggle query results pane

Closes #6193
This commit is contained in:
t8y2 committed 2026-08-24 19:24:54 +00:00
1 parent adb7578998
commit 9af98c2db2
14 files changed
+72

No files matched your search

@@ -154,6 +154,10 @@ export function isRefreshDataShortcut(event: ShortcutLikeEvent, shortcuts?: Part
return matchesShortcut(event, actionShortcut("refreshData", shortcuts));
}
export function isToggleResultsPaneShortcut(event: ShortcutLikeEvent, shortcuts?: Partial<ShortcutSettings>): boolean {
return matchesShortcut(event, actionShortcut("toggleResultsPane", shortcuts));
}
export function isModRShortcut(event: ShortcutLikeEvent): boolean {
return matchesShortcut(event, "Mod+R");
}
@@ -56,6 +56,7 @@ export type ShortcutActionId =
| "find"
| "replace"
| "refreshData"
| "toggleResultsPane"
| "toggleTranspose"
| "cancelSearch"
| "toggleSidebar"
@@ -435,6 +436,12 @@ export const SHORTCUT_DEFINITIONS: ShortcutDefinition[] = [
scope: "global",
defaultShortcut: "F5",
},
{
id: "toggleResultsPane",
labelKey: "settings.shortcutToggleResultsPane",
scope: "global",
defaultShortcut: "",
},
{
id: "toggleTranspose",
labelKey: "settings.shortcutToggleTranspose",