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 { useState, type ComponentProps } from "react"import { EventCalendar } from "@/components/event-calendar"import { calendarEditing } from "@/components/event-calendar/features/editing/index"type Items = ComponentProps<typeof EventCalendar>["data"]const initialItems = [ { id: "standup", name: "Team standup", status: "todo", active: true, setAt: "2025-06-01T00:00:00.000Z", startAt: "2025-06-10T09:00:00.000Z", expireAt: "2025-06-10T09:30:00.000Z", }, { id: "design-review", name: "Design review", status: "todo", active: true, setAt: "2025-06-01T00:00:00.000Z", startAt: "2025-06-11T14:00:00.000Z", expireAt: "2025-06-11T15:00:00.000Z", }, { id: "launch", name: "Product launch", status: "todo", active: true, setAt: "2025-06-01T00:00:00.000Z", startAt: "2025-06-13", expireAt: "2025-06-14", },] as Itemsexport default function EventCalendarEditingDemo() { const [items, setItems] = useState<Items>(initialItems) return ( <div className="w-full"> <EventCalendar data={items} editable editing={calendarEditing} onChange={setItems} /> </div> )}