Skip to content

feat(docs): add live previews for all 60 components#13

Merged
yuichi-musubi merged 1 commit into
mainfrom
feat/docs-preview-all-components
Mar 25, 2026
Merged

feat(docs): add live previews for all 60 components#13
yuichi-musubi merged 1 commit into
mainfrom
feat/docs-preview-all-components

Conversation

@yuichi-musubi
Copy link
Copy Markdown
Contributor

Summary

  • Complete docs live preview coverage: 60/60 component pages now have interactive Preview/Code tabs
  • 54 new demo files with React.lazy code-splitting via demo registry
  • Shared providers (TooltipProvider + Toaster) in ComponentPreview wrapper
  • /api/demo/search route for AsyncComboboxField demo
  • verify-registry-docs.mjs extended to enforce preview coverage at build time
  • Fixed nested button issues in Sheet/Popover/DropdownMenu/AlertDialog demos

Test plan

  • pnpm build — 7/7 packages, verify-registry-docs 60/60 preview coverage
  • pnpm test — 685 passed
  • Manual: all 60 component pages render live previews
  • Manual: Preview/Code tab toggle works
  • Manual: dark mode syncs with previews
  • Codex R3: LGTM

🤖 Generated with Claude Code

Complete docs live preview coverage with Preview/Code tabs for every
component page. Adds 54 new demo files, API route for AsyncComboboxField,
shared providers (TooltipProvider + Toaster) in ComponentPreview, and
build-time verification of preview coverage in verify-registry-docs.

- 60/60 component demos with interactive previews
- Demo registry with React.lazy code-splitting
- verify-registry-docs.mjs enforces ## Preview + <ComponentPreview> on all MDX
- /api/demo/search route for AsyncComboboxField demo
- Fixed nested button issues in Sheet/Popover/DropdownMenu/AlertDialog demos

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 25, 2026

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

Project Deployment Actions Updated (UTC)
hareru-ui-docs Ready Ready Preview, Comment Mar 25, 2026 1:14pm

Request Review

@yuichi-musubi yuichi-musubi merged commit 5c0e87b into main Mar 25, 2026
4 checks passed
@yuichi-musubi yuichi-musubi deleted the feat/docs-preview-all-components branch March 25, 2026 13:58
yuichi-musubi added a commit that referenced this pull request Mar 25, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
yuichi-musubi added a commit that referenced this pull request Mar 25, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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