feat: Enhance sidebar navigation active state logic, introduce static display items, refine active item styling

This commit is contained in:
Anish Sarkar 2025-12-28 01:20:39 +05:30
parent 8b10b0cd24
commit 2c64fcc38e
7 changed files with 53 additions and 15 deletions

View file

@ -319,7 +319,7 @@ export function AllChatsSidebar({ open, onOpenChange, searchSpaceId }: AllChatsS
"group flex items-center gap-2 rounded-md px-2 py-1.5 text-sm",
"hover:bg-accent hover:text-accent-foreground",
"transition-colors cursor-pointer",
isActive && "bg-accent text-accent-foreground font-medium",
isActive && "bg-accent text-accent-foreground",
isBusy && "opacity-50 pointer-events-none"
)}
>