// frontend/components/tasks/TaskSidebar.tsx "use client"; import { Fragment } from "react"; import { Icon } from "@/components/Icon"; import { cx } from "@/lib/cx"; import type { Folder, Person, Project } from "@/lib/types"; import { TreeAdd } from "./TreeAdd"; import { TreeNode } from "./TreeNode"; interface Props { folders: Folder[]; me: Person; sel: string; onSelect: (id: string) => void; expanded: Record; onToggle: (id: string) => void; onPin: (id: string) => void; counts: Record; pinnedProjects: Project[]; onAddProject: (folderId: string, name: string) => void; } export function TaskSidebar(p: Props) { return ( ); }