Skip to content

feat: accessibility, validation, error handling, missing components, and full test coverage#16

Merged
Ryanditko merged 1 commit intomainfrom
feat/polish-and-enhancements-v2
Apr 1, 2026
Merged

feat: accessibility, validation, error handling, missing components, and full test coverage#16
Ryanditko merged 1 commit intomainfrom
feat/polish-and-enhancements-v2

Conversation

@Ryanditko
Copy link
Copy Markdown
Owner

Summary

  • Fix chip, popupMenuButton, and card actions that were silently ignored or no-ops
  • Run ContractValidator on DynamicScreenPage (previously only in playground)
  • Rewrite ErrorBoundary to use try/catch without overriding global ErrorWidget.builder
  • Implement 3 missing component types: visibility, animatedScale, searchAnchor (106 total)
  • Add Semantics wrappers to progress, divider, badge, chip, and progress indicators
  • Fix openUrl error handling with user-facing snackbar fallback
  • Add 5 onboarding screens teaching JSON contract structure, components, actions, and debugging
  • Redesign landing page, home, and profile screens with gradient hero and Ryanditko branding
  • Add unit and widget tests for all component builders (225 tests, 0 failures)
  • Update README, ARCHITECTURE.md, and COMPONENTS.md to match actual code

Test plan

  • flutter analyze passes with no errors or warnings
  • flutter test — 225 tests passing (including golden)
  • Navigate through onboarding flow (welcome → structure → components → actions → debugging)
  • Verify chip and popupMenuButton actions trigger correctly
  • Verify home screen renders with gradient hero and legible text
  • Verify profile screen renders without overflow errors
  • Verify buttons render without overflow across all screens
  • Verify landing page shows icon hero (not photo) and no "211+ Tests" stat

…1y, tests, and docs

- Fix chip actions: wire handleAction into outlined and non-outlined chips
- Fix popupMenuButton: call handleAction on item selection
- Remove dead buildServerCard from server_misc.dart
- Add action support, color, borderRadius, and margin to _buildCard in parser
- Run ContractValidator on DynamicScreenPage (not just playground)
- Rewrite ErrorBoundary to use try/catch in _SafeBuilder (no global override)
- Fix openUrl: catch launchUrl errors and show snackbar fallback
- Fix navigate: guard against null/empty targetScreenId with debug log
- Implement 3 missing types: visibility, animatedScale, searchAnchor
- Register new types in ComponentParser and ContractValidator (106 total)
- Add Semantics to progress, divider, badge, chip, linearProgress, circularProgress
- Add tests for carousel, dropdown, expanded, responsive, and tab_bar
- Update golden file for redesigned landing page
- Fix README: accurate Semantics claim, update component count to 106
- Fix ARCHITECTURE.md: update component count to 106
- Fix COMPONENTS.md: add fadeTransition, animatedScale entries

Made-with: Cursor
@Ryanditko Ryanditko added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 1, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 1, 2026

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

Project Deployment Actions Updated (UTC)
flutter-backend-driven-ui Ready Ready Preview, Comment Apr 1, 2026 9:31pm

@Ryanditko Ryanditko merged commit 22bb4a8 into main Apr 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant