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 { Blackboard } from "@/components/blackboard/blackboard";import type { BlackboardNote, BlackboardAuthor, BlackboardMember } from "@/components/blackboard/types";import { avatarImage } from "@/preview/images";const olivia: BlackboardAuthor = { id: "u1", name: "Olivia Martin", avatarUrl: avatarImage("Olivia Martin"),};const liam: BlackboardAuthor = { id: "u2", name: "Liam Chen", avatarUrl: avatarImage("Liam Chen"),};const members: BlackboardMember[] = [olivia, liam];const notes: BlackboardNote[] = [ { id: "n1", text: "Sprint review moved to Thursday at 2pm.", author: liam, createdAt: "2024-05-06T09:00:00.000Z", style: { color: "lime", width: "bold", font: "kalam" }, pinned: true, }, { id: "n2", text: "Ship the onboarding flow before Friday.", author: olivia, createdAt: "2024-05-06T10:15:00.000Z", style: { color: "sky", width: "regular", font: "caveat" }, }, { id: "n3", text: "@Olivia Martin can you check the copy?", author: liam, createdAt: "2024-05-06T11:30:00.000Z", style: { color: "amber", width: "regular", font: "patrick" }, mentions: [ { memberId: "u1", display: "@Olivia Martin", start: 0, length: 14 }, ], },];export default function BlackboardDemo() { return ( <Blackboard notes={notes} currentUser={olivia} members={members} onPostNote={(draft) => { console.log(draft.text); }} className="h-[420px] w-full max-w-lg" /> );}