diff --git a/webui/src/App.tsx b/webui/src/App.tsx index 8c128828f..8fa428a7b 100644 --- a/webui/src/App.tsx +++ b/webui/src/App.tsx @@ -813,6 +813,7 @@ function Shell({ navigate(defaultShellRoute()); setDraftWorkspaceScope(null); setWorkspaceError(null); + setSessionSearchOpen(false); setMobileSidebarOpen(false); }, [navigate]); diff --git a/webui/src/components/Sidebar.tsx b/webui/src/components/Sidebar.tsx index 57cf42a84..3d4f7a6d2 100644 --- a/webui/src/components/Sidebar.tsx +++ b/webui/src/components/Sidebar.tsx @@ -124,6 +124,7 @@ export function Sidebar(props: SidebarProps) { label={t("sidebar.newChat")} onClick={props.onNewChat} icon={} + shortcut="Cmd/Ctrl+Shift+O" /> void; active?: boolean; className?: string; + shortcut?: string; }) { + const title = shortcut ? `${label} (${shortcut})` : collapsed ? label : undefined; + return (