From 76b12a154fae022a60aa32d433e2dc2c85e41586 Mon Sep 17 00:00:00 2001 From: Matt Vollmer Date: Thu, 11 Dec 2025 13:50:45 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20fix:=20add=20Ctrl+I=20focus=20ke?= =?UTF-8?q?ybind=20to=20new=20chat=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/browser/App.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/browser/App.tsx b/src/browser/App.tsx index 35ec5be1ca..056c756be2 100644 --- a/src/browser/App.tsx +++ b/src/browser/App.tsx @@ -446,6 +446,12 @@ function AppInner() { } else if (matchesKeybind(e, KEYBINDS.OPEN_SETTINGS)) { e.preventDefault(); openSettings(); + } else if (matchesKeybind(e, KEYBINDS.FOCUS_CHAT)) { + // Focus creation chat when on new chat page (no workspace selected) + if (creationProjectPath && creationChatInputRef.current) { + e.preventDefault(); + creationChatInputRef.current.focus(); + } } }; @@ -457,6 +463,7 @@ function AppInner() { isCommandPaletteOpen, closeCommandPalette, openCommandPalette, + creationProjectPath, openSettings, ]);