From 756cc3a7827268e079f4e122e02fc0aeee3b4f26 Mon Sep 17 00:00:00 2001 From: Jiayuan Zhang Date: Fri, 10 Apr 2026 02:12:29 +0800 Subject: [PATCH] refactor(sidebar): make search and new issue regular menu items Replace bordered input-style search bar and icon button with SidebarMenuButton components so they share the same visual weight, padding, and hover behavior as all other nav items. --- .../(dashboard)/_components/app-sidebar.tsx | 45 ++++++++++--------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/apps/web/app/(dashboard)/_components/app-sidebar.tsx b/apps/web/app/(dashboard)/_components/app-sidebar.tsx index 3c340832d..b0dc3ef7e 100644 --- a/apps/web/app/(dashboard)/_components/app-sidebar.tsx +++ b/apps/web/app/(dashboard)/_components/app-sidebar.tsx @@ -179,29 +179,32 @@ export function AppSidebar() { -
- - - + + useSearchStore.getState().setOpen(true)} + > + + Search... + + K + + + + + useModalStore.getState().open("create-issue")} > - - - - New issue - -
+ + + + + New Issue + + + {/* Navigation */}