@dashboardblocks/filesloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. 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 { FileDropzone, FileUploadItem, FileUploadList, useFileUploads, type FileUpload, type UploadFn } from '@/components/dashboardblocks/files'const upload: UploadFn = async (file, { onProgress }) => {  onProgress(0.5)  await new Promise((resolve) => setTimeout(resolve, 1500))}const initialUploads: FileUpload[] = [  { id: '1', name: 'invoice-march.pdf', size: 240 * 1024, type: 'application/pdf', progress: 1, status: 'done' },  { id: '2', name: 'team-photo.jpg', size: 2.4 * 1024 * 1024, type: 'image/jpeg', progress: 0.4, status: 'uploading' },  { id: '3', name: 'budget-2024.xlsx', size: 88 * 1024, type: 'application/vnd.ms-excel', progress: 0, status: 'error', error: 'Network error' },]export default function FilesDemo() {  const { add, cancel, remove, retry, uploads } = useFileUploads({ upload, initialUploads })  return (    <div className='flex w-full max-w-md flex-col gap-4'>      <FileDropzone accept='.pdf,image/*' maxSize={10 * 1024 * 1024} onFiles={add} />      <FileUploadList>        {uploads.map((item) => (          <FileUploadItem            key={item.id}            upload={item}            onCancel={cancel}            onRetry={retry}            onRemove={remove}          />        ))}      </FileUploadList>    </div>  )}