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 { ThreadExpansion, type ThreadNode } from "@/components/motiq/thread-expansion"const nodes: ThreadNode[] = [ { id: "1", author: { id: "u1", name: "Olivia Martin", role: "Maintainer" }, body: "Should we split the migration into two separate PRs?", timestamp: "2025-03-12T09:14:00Z", replyCount: 2, unreadCount: 1, children: [ { id: "1a", author: { id: "u2", name: "Liam Chen" }, body: "Yes, that keeps the schema change easy to review.", timestamp: "2025-03-12T09:20:00Z", resolved: true, replyCount: 1, children: [ { id: "1a1", author: { id: "u3", name: "Amara Okafor" }, body: "Agreed. I'll open the first one today.", timestamp: "2025-03-12T09:31:00Z", }, ], }, { id: "1b", author: { id: "u4", name: "Noah Ramirez" }, body: "Could we keep it as one PR if the rollback is scripted?", timestamp: "2025-03-12T10:02:00Z", unread: true, replyCount: 0, }, ], }, { id: "2", author: { id: "u5", name: "Sofia Patel" }, body: "The staging deploy finished without errors.", timestamp: "2025-03-12T11:45:00Z", replyCount: 0, },]export default function ThreadExpansionDemo() { return ( <ThreadExpansion nodes={nodes} label="Discussion" defaultExpandDepth={2} className="max-w-lg" /> )}