The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(ui): restore sidebar collapse button functionality
Steven Enamakel74a3c720542c
diff --git a/app/src/components/layout/shell/AppSidebar.tsx b/app/src/components/layout/shell/AppSidebar.tsxindex d961256fb4..19554a4f88 100644--- a/app/src/components/layout/shell/AppSidebar.tsx+++ b/app/src/components/layout/shell/AppSidebar.tsx@@ -122,7 +122,7 @@ export default function AppSidebar() {Rewards is a primary `NAV_TABS` destination now and Feedback is aheader icon beside the keyboard shortcut, so the footer is thestatus strip alone. */}- <div className="flex flex-wrap items-center justify-center gap-x-2 gap-y-0.5 px-1">+ <div className="flex flex-wrap items-center justify-center gap-x-2 gap-y-0.5"><ConnectionIndicator />·<span className="text-[10px] text-content-faint">diff --git a/app/src/components/ui/Sidebar.tsx b/app/src/components/ui/Sidebar.tsxindex 20738c84a1..d61832dfa7 100644--- a/app/src/components/ui/Sidebar.tsx+++ b/app/src/components/ui/Sidebar.tsx@@ -322,7 +322,12 @@ export const SidebarRail = forwardRef<HTMLDivElement, SidebarRailProps>(onPointerDown={handlePointerDown}onKeyDown={handleKeyDown}className={cn(- 'group relative w-px flex-none cursor-col-resize select-none self-stretch',+ // `w-0`, not `w-px`: the rail sits between the column and the content+ // card, so any layout width of its own makes the card's left gutter+ // wider than its other three by exactly that much. The seam is drawn+ // by the absolutely-positioned indicator below instead, which costs+ // no width — and it only paints on hover/focus anyway.+ 'group relative w-0 flex-none cursor-col-resize select-none self-stretch','bg-transparent focus:outline-hidden',className)}@@ -331,7 +336,7 @@ export const SidebarRail = forwardRef<HTMLDivElement, SidebarRailProps>(<span className="absolute inset-y-0 -left-1 -right-1 z-10" /><spanclassName={cn(- 'absolute inset-0 transition-colors',+ 'absolute inset-y-0 left-0 w-px transition-colors',indicatorClassName ?? DEFAULT_RAIL_INDICATOR)}/>@@ -441,7 +446,7 @@ export const SidebarFooter = forwardRef<HTMLDivElement, HTMLAttributes<HTMLDivEl<divref={ref}data-slot="sidebar-footer"- className={cn('flex flex-none flex-col gap-1 px-2 pb-2 pt-1', className)}+ className={cn('flex flex-none flex-col gap-1 px-3 pb-2 pt-1', className)}{...rest}/>)@@ -467,7 +472,7 @@ export const SidebarGroup = forwardRef<HTMLDivElement, HTMLAttributes<HTMLDivEle<divref={ref}data-slot="sidebar-group"- className={cn('relative flex w-full min-w-0 flex-col px-2 py-1', className)}+ className={cn('relative flex w-full min-w-0 flex-col px-3 py-1', className)}{...rest}/>)