feat(ai): add panel shortcut and conversation restore
This commit is contained in:
23 files changed
+165
-2
No files matched your search
@@ -92,6 +92,7 @@ import {
|
||||
isSwitchToNextTabShortcut,
|
||||
isSwitchToPreviousTabShortcut,
|
||||
isToggleResultsPaneShortcut,
|
||||
isToggleAiPanelShortcut,
|
||||
isToggleSidebarShortcut,
|
||||
isToggleZenModeShortcut,
|
||||
isZoomInShortcut,
|
||||
@@ -3009,6 +3010,12 @@ async function handleKeydown(e: KeyboardEvent) {
|
||||
showQuickOpen.value = true;
|
||||
return;
|
||||
}
|
||||
if (isToggleAiPanelShortcut(e, shortcuts)) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
toggleRightSidebarPanel("ai");
|
||||
return;
|
||||
}
|
||||
if (isFocusSearchShortcut(e, shortcuts)) {
|
||||
// Route by the event target so focus inside the shared result grid (or a
|
||||
// Teleported cell-detail dialog) lands on the result search, not the editor.
|
||||
|
||||
Reference in new issue
Block a user