feat(ai): add panel shortcut and conversation restore

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-09-08 22:34:26 +08:00
1 parent b70d4153a4
commit 798733fd29
23 files changed
+165 -2

No files matched your search

+7
View File
@@ -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.