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
"use client"import * as React from "react"import { DragSelect, dragSelectItem } from "@/components/ui/drag-select"import { cn } from "@/lib/utils"const files = [ { id: "f1", name: "Quarterly report.pdf" }, { id: "f2", name: "Budget 2025.xlsx" }, { id: "f3", name: "Team photo.jpg" }, { id: "f4", name: "Meeting notes.docx" }, { id: "f5", name: "Logo concepts.png" }, { id: "f6", name: "Roadmap.key" }, { id: "f7", name: "Invoice 0412.pdf" }, { id: "f8", name: "Interview recording.mp3" }, { id: "f9", name: "Product specs.md" }, { id: "f10", name: "Contracts.zip" }, { id: "f11", name: "Hiring plan.xlsx" }, { id: "f12", name: "Onboarding guide.pdf" },]export default function DragSelectDemo() { const [selected, setSelected] = React.useState<string[]>(["f2"]) return ( <div className="w-full max-w-sm"> <p className="mb-2 text-sm text-muted-foreground"> {selected.length} of {files.length} selected </p> <DragSelect value={selected} onChange={setSelected} className="h-72 rounded-md border p-2"> <ul className="grid gap-1"> {files.map((file) => { const isSelected = selected.includes(file.id) return ( <li key={file.id} {...dragSelectItem(file.id)} className={cn( "cursor-default rounded-md px-3 py-2 text-sm", isSelected ? "bg-primary text-primary-foreground" : "hover:bg-accent" )} > {file.name} </li> ) })} </ul> </DragSelect> </div> )}