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 { StateTimeline, type TimelineLane, type TimelineState } from "@/components/bjork-ui/charts/state-timeline"const states: TimelineState[] = [ { id: "ok", label: "Operational", tone: "ok" }, { id: "degraded", label: "Degraded", tone: "warn" }, { id: "down", label: "Outage", tone: "down" },]const lanes: TimelineLane[] = [ { id: "api", label: "API", segments: [ { start: 0, end: 3600000, state: "ok" }, { start: 3600000, end: 5400000, state: "down", note: "5xx above 20%" }, { start: 5400000, end: 7200000, state: "ok" }, ], }, { id: "web", label: "Web", segments: [ { start: 0, end: 2700000, state: "ok" }, { start: 2700000, end: 4500000, state: "degraded", note: "p95 over SLO" }, { start: 4500000, end: 7200000, state: "ok" }, ], }, { id: "auth", label: "Auth", segments: [ { start: 0, end: 7200000, state: "ok" }, ], },]export default function StateTimelineDemo() { return ( <StateTimeline lanes={lanes} states={states} domain={[0, 7200000]} className="w-full max-w-xl" /> )}