Skip to content

refactor(preview): move FortalScope into Example, extract preview widgets#13

Merged
tilucasoli merged 3 commits intomainfrom
tilucasoli/fortal-scope-refactor
Apr 19, 2026
Merged

refactor(preview): move FortalScope into Example, extract preview widgets#13
tilucasoli merged 3 commits intomainfrom
tilucasoli/fortal-scope-refactor

Conversation

@tilucasoli
Copy link
Copy Markdown
Collaborator

Summary

  • Restructure all 19 remix component showcases so Example wraps FortalScope around a dedicated {Name}Preview widget (e.g. ButtonPreview, SelectPreview).
  • main() now passes const Example() directly to runMixApp, separating scope setup from component rendering.
  • Minor pubspec.lock hash refresh for the mix 2.0.2 bump.

Test plan

  • dart analyze passes in packages/mix_docs_preview (verified locally: no issues found)
  • Verify each preview renders correctly in the docs UI

🤖 Generated with Claude Code

…ent previews

Restructure remix component examples so Example wraps FortalScope around a
dedicated {Name}Preview widget, separating scope setup from component rendering.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@docs-page
Copy link
Copy Markdown

docs-page Bot commented Apr 19, 2026

To view this pull requests documentation preview, visit the following URL:

docs.page/btwld/mix-docs~13

Documentation is deployed and generated using docs.page.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 19, 2026

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

Project Deployment Actions Updated (UTC)
mix-docs Ready Ready Preview, Comment Apr 19, 2026 4:20am

@tilucasoli tilucasoli changed the title refactor(preview): move FortalScope inside Example and extract component previews refactor(preview): move FortalScope into Example, extract preview widgets Apr 19, 2026
Lift the Interactive preview section to appear directly after the description
across 18 component docs so the rendered example is visible before reading.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@tilucasoli tilucasoli merged commit aa3644d into main Apr 19, 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