import { PanelRightOpen } from 'lucide-react'; import { useSidebarSettings } from '../hooks/useSidebarSettings'; import { useWorkspaces } from '../hooks/useWorkspaces'; import { useSidebarModals } from '../hooks/useSidebarModals'; import SidebarHeader from './SidebarHeader'; import { cn } from '@/lib/utils'; import { Button } from '@/shared/view/ui'; import ProjectCreationWizard from '@/components/project-creation-wizard'; export function Sidebar() { const { isCollapsed, toggleCollapse, setCollapsed } = useSidebarSettings(); const { workspaces, isRefreshing, refreshWorkspaces } = useWorkspaces(); const { showNewProject, openNewProject, closeNewProject } = useSidebarModals(); return ( <> <> {/* Mobile Backdrop Overlay - allows tapping outside to close */} {!isCollapsed && (