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 type { CSSProperties } from 'react'import { tooltipShell, tooltipRow, tooltipIndicatorHtml } from '@/components/evilcharts/ui/echarts-tooltip'const colorVars = { '--color-desktop': 'var(--chart-1)', '--color-mobile': 'var(--chart-2)',} as CSSPropertiesexport default function EchartsTooltipDemo() { const rows = [ tooltipRow({ indicatorHtml: tooltipIndicatorHtml('desktop', 1), labelText: 'Desktop', valueText: '1,284', dimmed: '' }), tooltipRow({ indicatorHtml: tooltipIndicatorHtml('mobile', 1), labelText: 'Mobile', valueText: '936', dimmed: '' }), ].join('') const html = tooltipShell({ label: 'Jan 2025', body: rows, roundness: 'md', variant: 'default' }) return ( <div className='w-full max-w-xs' style={colorVars}> <div dangerouslySetInnerHTML={{ __html: html }} /> </div> )}