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 { useState } from "react"import { Button } from "@/components/ui/button"import { FlipList, FlipItem } from "@/components/ui/flip-list"const tasks = [ { id: "design", title: "Design review", done: false }, { id: "copy", title: "Write release notes", done: true }, { id: "deploy", title: "Deploy to staging", done: false }, { id: "tests", title: "Fix flaky tests", done: false },]export default function FlipListDemo() { const [items, setItems] = useState(tasks) const [openOnly, setOpenOnly] = useState(false) const visible = openOnly ? items.filter((t) => !t.done) : items const toggle = (id: string) => setItems((prev) => prev.map((t) => (t.id === id ? { ...t, done: !t.done } : t))) return ( <div className="flex w-full max-w-sm flex-col gap-4"> <div className="flex flex-wrap items-center gap-2"> <Button variant="outline" size="sm" onClick={() => setItems((prev) => [...prev].reverse())}> Reverse </Button> <Button variant="outline" size="sm" onClick={() => setOpenOnly((v) => !v)}> {openOnly ? "Show all" : "Open only"} </Button> </div> <FlipList className="flex flex-col gap-2"> {visible.map((t) => ( <FlipItem key={t.id} className="flex items-center justify-between gap-2 rounded-md border bg-card px-4 py-3 text-sm" > <span className={t.done ? "text-muted-foreground line-through" : undefined}>{t.title}</span> <Button size="sm" variant="ghost" onClick={() => toggle(t.id)}> {t.done ? "Reopen" : "Done"} </Button> </FlipItem> ))} </FlipList> </div> )}