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 { SwipeAction } from "@/components/ui/swipe-action"const initialMessages = [ { id: 1, title: "Invoice from Acme", preview: "Your March invoice is ready to review." }, { id: 2, title: "Design review", preview: "Can we move the review to Thursday?" }, { id: 3, title: "Welcome aboard", preview: "Here is everything you need to get started." },]export default function SwipeActionDemo() { const [messages, setMessages] = useState(initialMessages) const remove = (id: number) => setMessages((prev) => prev.filter((m) => m.id !== id)) return ( <div className="w-full max-w-md divide-y overflow-hidden rounded-xl border bg-card"> {messages.map((message) => ( <SwipeAction key={message.id} label={message.title} onArchive={() => remove(message.id)} onDelete={() => remove(message.id)} > <div className="flex flex-col gap-1 p-4"> <p className="text-sm font-medium">{message.title}</p> <p className="text-sm text-muted-foreground">{message.preview}</p> </div> </SwipeAction> ))} </div> )}