feat(sidebar): introduce SidebarButtonBadge for improved badge display

- Added SidebarButtonBadge component to encapsulate badge styling and functionality.
- Updated Sidebar to utilize SidebarButtonBadge for displaying new item notifications, enhancing visual clarity.
- Adjusted SidebarUserProfile layout for better alignment in collapsed view.
This commit is contained in:
Anish Sarkar 2026-07-07 22:48:23 +05:30
parent 2670ad96c8
commit d6fbbb97d4
4 changed files with 25 additions and 11 deletions

View file

@ -29,7 +29,7 @@ export function ConnectAgentDialog({ className }: { className?: string }) {
)}
>
<Cable className="h-3.5 w-3.5 shrink-0" />
<span className="min-w-0 flex-1 truncate">Connect your AI Agent</span>
<span className="min-w-0 flex-1 truncate">Connect your agent</span>
</DialogTrigger>
<DialogContent className="max-h-[85vh] overflow-y-auto sm:max-w-2xl">
<DialogHeader>