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 { ChatScroll, ChatScrollViewport, JumpToLatest } from "@/components/ui/jump-to-latest"const messages = [ { id: "1", text: "Morning! Are we still on for the design review at 10?" }, { id: "2", text: "Yes, I just moved the mockups into the shared folder." }, { id: "3", text: "Great, I'll take a look before the call." }, { id: "4", text: "Did you get a chance to check the new onboarding flow?" }, { id: "5", text: "Looks clean. I left a few comments on the second screen." }, { id: "6", text: "Thanks, I'll update the spacing on those today." }, { id: "7", text: "Also, can we swap the hero image for something lighter?" }, { id: "8", text: "Sure, I have a couple of options from the last shoot." }, { id: "9", text: "Perfect. Send them over when you have a minute." }, { id: "10", text: "Sent. Let me know which one you prefer." }, { id: "11", text: "The second one works best with the headline." }, { id: "12", text: "Agreed. I'll ship that version to staging." },]export default function JumpToLatestDemo() { return ( <ChatScroll itemCount={messages.length} className="h-[360px] w-full max-w-md"> <ChatScrollViewport className="p-4"> <ul className="flex flex-col gap-3"> {messages.map((m) => ( <li key={m.id} className="max-w-[80%] rounded-lg bg-muted px-3 py-2 text-sm"> {m.text} </li> ))} </ul> </ChatScrollViewport> <JumpToLatest /> </ChatScroll> )}