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 { HeatmapGrid, HeatmapLegend } from '@/components/dashboardblocks/heatmap'export default function HeatmapDemo() { const columns = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] const rows = ['Morning', 'Afternoon', 'Evening'] return ( <HeatmapGrid className='w-full max-w-lg' columns={columns} rows={rows} values={[ [2, 5, 1, 4, 6, 3, 0], [4, null, 3, 7, 5, 2, 1], [1, 6, 8, 4, 9, 5, 2], ]} label='Activity by day and time' rowHeader='Time of day' cellLabels describe={(position, value) => `${rows[position.row]} ${columns[position.column]}: ${value ?? 'no data'}` } footer={<HeatmapLegend />} > Hover or use arrow keys to read a cell. </HeatmapGrid> )}