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 * as React from "react"import { Button } from "@/components/ui/button"import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"import { Input } from "@/components/ui/input"import { ProductTour, type TourStep } from "@/components/ui/product-tour"export default function ProductTourDemo() { const [open, setOpen] = React.useState(true) const searchRef = React.useRef<HTMLInputElement>(null) const newRef = React.useRef<HTMLButtonElement>(null) const steps: TourStep[] = [ { id: "welcome", title: "Welcome", content: "Here is a quick tour of your projects." }, { id: "search", target: () => searchRef.current, title: "Find anything", content: "Search covers projects and teammates." }, { id: "new", target: () => newRef.current, title: "Start something", content: "Press New project to create your first one.", interactive: true }, ] return ( <div className="w-full max-w-md"> <Card> <CardHeader> <CardTitle>Projects</CardTitle> <CardDescription>Everything your team is working on.</CardDescription> </CardHeader> <CardContent className="grid gap-3"> <Input ref={searchRef} placeholder="Search projects" /> <Button ref={newRef}>New project</Button> </CardContent> </Card> <ProductTour steps={steps} open={open} onOpenChange={setOpen} /> </div> )}