From 487b3fe3740058af91bcb87da1bb57493b3d7e93 Mon Sep 17 00:00:00 2001 From: Forgotten Date: Fri, 20 Feb 2026 15:08:03 -0600 Subject: [PATCH] Remove collapsible behavior from sidebar Work and Company sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The sidebar sections no longer fold/unfold — they are always visible. Removed Collapsible component, chevron icon, and open/close state. PAP-38 Co-Authored-By: Claude Opus 4.6 --- ui/src/components/SidebarSection.tsx | 37 ++++++---------------------- 1 file changed, 7 insertions(+), 30 deletions(-) diff --git a/ui/src/components/SidebarSection.tsx b/ui/src/components/SidebarSection.tsx index da77f37c..3dd68feb 100644 --- a/ui/src/components/SidebarSection.tsx +++ b/ui/src/components/SidebarSection.tsx @@ -1,40 +1,17 @@ -import { ChevronRight, type LucideIcon } from "lucide-react"; -import { useState, type ReactNode } from "react"; -import { cn } from "../lib/utils"; -import { - Collapsible, - CollapsibleContent, - CollapsibleTrigger, -} from "@/components/ui/collapsible"; +import type { ReactNode } from "react"; interface SidebarSectionProps { label: string; - icon?: LucideIcon; children: ReactNode; - defaultOpen?: boolean; } -export function SidebarSection({ - label, - children, - defaultOpen = true, -}: SidebarSectionProps) { - const [open, setOpen] = useState(defaultOpen); - +export function SidebarSection({ label, children }: SidebarSectionProps) { return ( - - +
+
{label} - - - -
{children}
-
- +
+
{children}
+
); }