Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { RetroTreeView } from "@/components/ui/retro-tree-view"export default function RetroTreeViewDemo() { return ( <RetroTreeView aria-label="Documents" className="w-full max-w-md h-[300px]" columns={[ { key: "modified", header: "Date Modified", width: 120 }, { key: "size", header: "Size", width: 70, align: "right" }, { key: "kind", header: "Kind", width: 90 }, ]} items={[ { id: "work", label: "Work", modified: "Mar 3, 2024", size: null, kind: "Folder", children: [ { id: "report", label: "Q1 Report.pdf", modified: "Mar 2, 2024", size: "1.2 MB", kind: "PDF", }, { id: "budget", label: "Budget.xlsx", modified: "Feb 18, 2024", size: "340 KB", kind: "Spreadsheet", }, ], }, { id: "photos", label: "Photos", modified: "Jan 12, 2024", size: null, kind: "Folder", children: [], }, { id: "readme", label: "README.txt", modified: "Dec 1, 2023", size: "2 KB", kind: "Text", }, ]} defaultExpanded={["work"]} defaultSelected={["budget"]} /> )}