From dd5e839501392d03b8a823e69576f982a16b71f8 Mon Sep 17 00:00:00 2001 From: sikongyue <3155157671@qq.com> Date: Wed, 19 Aug 2026 23:47:45 +0800 Subject: [PATCH] =?UTF-8?q?refactor(web):=20=E5=B7=A5=E4=BD=9C=E5=8C=BA?= =?UTF-8?q?=E5=B8=83=E5=B1=80=20-=20=E4=BE=A7=E8=BE=B9=E6=A0=8F=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=20Quick=20search=20=E6=90=9C=E7=B4=A2=E6=A1=86?= =?UTF-8?q?=E5=B9=B6=E7=A7=BB=E9=99=A4=E5=AF=BC=E8=88=AA=E5=86=85=E5=86=97?= =?UTF-8?q?=E4=BD=99=E6=90=9C=E7=B4=A2=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/layout/workspace-sidebar-nav.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/web/src/components/layout/workspace-sidebar-nav.tsx b/web/src/components/layout/workspace-sidebar-nav.tsx index f983c4c71..71644ce84 100644 --- a/web/src/components/layout/workspace-sidebar-nav.tsx +++ b/web/src/components/layout/workspace-sidebar-nav.tsx @@ -44,7 +44,6 @@ function buildNav(features: FeatureAvailability, balance: string): { groups: Wor const groups: WorkspaceNavGroup[] = [ { items: [ - { id: "search", title: "搜索", icon: Search, shortcut: "⌘K", action: "search" }, { id: "home", title: "首页", icon: Home, to: "/home" }, toolItem("create", "/create"), ...(features.shortDramaEnabled ? [toolItem("projects", "/projects")] : []), @@ -305,6 +304,18 @@ export function WorkspaceSidebarNav({ onNavigate, onOpenSearch }: { onNavigate:
+
+ +
+