diff --git a/apps/x/apps/renderer/src/components/sidebar-content.tsx b/apps/x/apps/renderer/src/components/sidebar-content.tsx index f192df1c..84a53410 100644 --- a/apps/x/apps/renderer/src/components/sidebar-content.tsx +++ b/apps/x/apps/renderer/src/components/sidebar-content.tsx @@ -737,9 +737,16 @@ export function SidebarContentPanel({ {/* Top spacer to clear the traffic lights + fixed toggle row */}
{/* Quick actions */} -
+
{onNewChat && ( - + )} knowledgeActions.createNote()} /> @@ -764,9 +771,9 @@ export function SidebarContentPanel({ data-tour-id="nav-email" isActive={activeNav === 'email'} onClick={() => onOpenEmail?.()} - className={previewEmail ? 'h-auto py-1.5' : undefined} + className={previewEmail ? 'h-auto items-start py-1.5' : undefined} > - +
Email {previewEmail && ( @@ -787,9 +794,9 @@ export function SidebarContentPanel({ data-tour-id="nav-meetings" isActive={activeNav === 'meetings'} onClick={onOpenMeetings} - className={meetingSublabel ? 'h-auto py-1.5' : undefined} + className={meetingSublabel ? 'h-auto items-start py-1.5' : undefined} > - +
Meetings {meetingSublabel && ( @@ -874,9 +881,9 @@ export function SidebarContentPanel({ data-tour-id="nav-knowledge" isActive={activeNav === 'knowledge'} onClick={() => knowledgeActions.openKnowledgeView()} - className={knowledgeUpdatedLabel ? 'h-auto py-1.5' : undefined} + className={knowledgeUpdatedLabel ? 'h-auto items-start py-1.5' : undefined} > - +
Brain {knowledgeUpdatedLabel && ( @@ -896,8 +903,8 @@ export function SidebarContentPanel({ isActive={activeNav === 'apps'} onClick={onOpenApps} > - - Apps + + Apps @@ -905,11 +912,11 @@ export function SidebarContentPanel({ data-tour-id="nav-agents" isActive={activeNav === 'agents'} onClick={onOpenBgTasks} - className={bgAgentsLabel ? 'h-auto py-1.5' : undefined} + className={bgAgentsLabel ? 'h-auto items-start py-1.5' : undefined} > - +
- Background agents + Background agents {bgAgentsLabel && ( knowledgeActions.openWorkspaceAt()} - className="h-auto py-1.5" + className="h-auto items-start py-1.5" > - +
- Workspaces + Workspaces {workspaceCount === 0 ? 'No workspaces' : `${workspaceCount} workspace${workspaceCount === 1 ? '' : 's'}`} @@ -1398,7 +1405,7 @@ path: ${currentRelativePath} if (!hasDeepgramKey) return null - const actionClass = "flex h-9 flex-1 items-center justify-center rounded-md border border-sidebar-border text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground transition-colors" + const actionClass = "flex size-8 shrink-0 items-center justify-center rounded-md text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground transition-colors" const iconClass = "text-sidebar-foreground/70 hover:text-sidebar-foreground hover:bg-sidebar-accent rounded p-1.5 transition-colors" return ( @@ -1432,7 +1439,7 @@ function ActionButton({ icon: Icon, label, onClick }: { icon: typeof Mic; label: type="button" onClick={onClick} aria-label={label} - className="flex h-9 flex-1 items-center justify-center rounded-md border border-sidebar-border text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground transition-colors" + className="flex size-8 shrink-0 items-center justify-center rounded-md text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground transition-colors" >