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 type { Comment } from "@/components/comment-thread/types"import { CommentThread } from "@/components/comment-thread/comment-thread"import { avatarImage } from "@/preview/images"const me = { id: "u-jordan", name: "Jordan Lee", avatar: avatarImage("Jordan Lee"),}const comments: Comment[] = [ { id: "c1", author: { id: "u-olivia", name: "Olivia Martin", username: "olivia", avatar: avatarImage("Olivia Martin"), }, content: "The new dashboard layout reads much better on mobile. Nice work on the spacing.", createdAt: new Date("2025-03-04T09:30:00Z"), likes: 6, isLiked: true, replies: [ { id: "c2", author: { id: "u-noah", name: "Noah Kim", username: "noahk" }, content: "Agreed. The sidebar collapse feels smoother too.", createdAt: new Date("2025-03-04T10:05:00Z"), likes: 2, replies: [], }, ], }, { id: "c3", author: { id: "u-ava", name: "Ava Chen" }, content: "Can we keep the export button in the header? Users asked for it twice last week.", createdAt: new Date("2025-03-05T14:12:00Z"), likes: 3, replies: [], },]export default function CommentThreadDemo() { return ( <CommentThread comments={comments} currentUser={me} className="w-full max-w-lg" /> )}