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 { CommentThread, type ThreadComment } from '@/components/dashboardblocks/comments'const people = [{ name: 'Ada Lovelace' }, { name: 'Grace Hopper' }]const thread: ThreadComment = { id: 'c1', author: { name: 'Grace Hopper' }, body: 'Shipping the new billing flow today. @Ada Lovelace can you review the retry logic?', at: new Date('2025-01-01T09:00:00Z'), reactions: [ { emoji: '👍', count: 2, reacted: true }, { emoji: '🚀', count: 1, reacted: false }, ], replies: [ { id: 'c2', author: { name: 'Ada Lovelace' }, body: 'On it. The first pass looks good.', at: new Date('2025-01-01T10:30:00Z'), }, ],}export default function CommentsDemo() { return ( <CommentThread className='w-full max-w-lg' comment={thread} currentUser={{ name: 'Ada Lovelace' }} people={people} now={new Date('2025-01-01T12:00:00Z')} onReact={() => {}} onReply={(body) => console.log(body)} /> )}