Skip to content

fix(blocks): add missing data-table-advanced preview render function#437

Merged
Shooksie merged 1 commit intomainfrom
fix-block-registry-and-previews-v3
Apr 14, 2026
Merged

fix(blocks): add missing data-table-advanced preview render function#437
Shooksie merged 1 commit intomainfrom
fix-block-registry-and-previews-v3

Conversation

@Shooksie
Copy link
Copy Markdown
Contributor

Summary

  • Adds the missing DataTableAdvanced import to block-previews.tsx
  • Adds the "data-table-advanced" preview render function — the only block that was missing one
  • Preview displays a contacts table with name/email/company/role/status columns, status and company filter columns, bulk delete and CSV/JSON export enabled

Changes

  • apps/docs/src/lib/block-previews.tsx: import DataTableAdvanced from @ds/blocks/data, add preview entry

Verification

  • pnpm build passes (tsup ESM + CJS + DTS)
  • tsc --noEmit passes (no type errors)

- Import DataTableAdvanced from @ds/blocks/data
- Add "data-table-advanced" preview entry to blockPreviews map with
  contact list demo data and multi-column filter configuration
- Fixes the only block missing a preview render function in block-previews.tsx
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
design-system Ready Ready Preview, Comment Apr 14, 2026 1:15am

Request Review

@Shooksie Shooksie merged commit f798326 into main Apr 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant