import { FolderGit2, PanelRight, Search, Bell, Settings, ChevronDown } from "lucide-react"; import { COLORS, FONT } from "./theme"; import type { WorkspaceView } from "./layoutTypes"; import { leafIds } from "./layoutTypes"; /** Human-readable descriptor of the active workspace layout (mock until a real preset id is tracked). */ function describeLayout(w: WorkspaceView | null): string { if (!w || !w.layout) return "no layout"; const n = leafIds(w.layout).length; return n === 1 ? "1 pane" : `${n} panes`; } function IconBtn({ icon, onClick, active, title }: { icon: React.ReactNode; onClick?: () => void; active?: boolean; title?: string }) { return ( ); } export function TopBar({ active, eventsOpen, onToggleEvents, }: { active: WorkspaceView | null; eventsOpen: boolean; onToggleEvents: () => void; }) { return (