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 { useState } from "react"import { KanbanBoard, KanbanCard, KanbanCardMenu, KanbanCardTitle, KanbanColumn, KanbanLabels, getColumnItems, moveItem, type KanbanColumnDef, type KanbanItem,} from "@/components/dashboardblocks/kanban"const columns: KanbanColumnDef[] = [ { id: "todo", title: "To do" }, { id: "doing", title: "In progress", wipLimit: 2 }, { id: "done", title: "Done" },]const initialItems: KanbanItem[] = [ { id: "1", column: "todo", title: "Write onboarding guide" }, { id: "2", column: "todo", title: "Review pricing page copy" }, { id: "3", column: "doing", title: "Build settings screen" }, { id: "4", column: "doing", title: "Fix login redirect" }, { id: "5", column: "done", title: "Set up CI pipeline" },]export default function KanbanDemo() { const [items, setItems] = useState(initialItems) function onMove(id: string, column: string, index: number) { setItems((current) => moveItem(current, id, column, index)) } return ( <KanbanBoard label="Project board" className="w-full max-w-lg" columns={columns} items={items} onMove={onMove} > {columns.map((column) => ( <KanbanColumn key={column.id} column={column}> {getColumnItems(items, column.id).map((item) => ( <KanbanCard key={item.id} item={item}> <div className="flex items-start justify-between gap-2"> <KanbanCardTitle /> <KanbanCardMenu /> </div> </KanbanCard> ))} </KanbanColumn> ))} </KanbanBoard> )}