From 71b8860d206fa4c3b2b687aa5071b9a287b3824e Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Sat, 27 Dec 2025 19:41:44 +0530 Subject: [PATCH] feat: Added active highlighting to chats and notes --- surfsense_web/components/sidebar/all-chats-sidebar.tsx | 2 ++ surfsense_web/components/sidebar/all-notes-sidebar.tsx | 8 +++++++- surfsense_web/components/sidebar/nav-chats.tsx | 5 ++++- surfsense_web/components/sidebar/nav-notes.tsx | 5 ++++- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/surfsense_web/components/sidebar/all-chats-sidebar.tsx b/surfsense_web/components/sidebar/all-chats-sidebar.tsx index a820a90c8..79a811ee1 100644 --- a/surfsense_web/components/sidebar/all-chats-sidebar.tsx +++ b/surfsense_web/components/sidebar/all-chats-sidebar.tsx @@ -310,6 +310,7 @@ export function AllChatsSidebar({ open, onOpenChange, searchSpaceId }: AllChatsS const isDeleting = deletingThreadId === thread.id; const isArchiving = archivingThreadId === thread.id; const isBusy = isDeleting || isArchiving; + const isActive = currentChatId === thread.id; return (