Skip to content

Add Edge Component showcase screens and re-enable form demos - #14

Open
lessevv wants to merge 4 commits into
NativePHP:mainfrom
lessevv:feat/docs-reference-screens
Open

Add Edge Component showcase screens and re-enable form demos#14
lessevv wants to merge 4 commits into
NativePHP:mainfrom
lessevv:feat/docs-reference-screens

Conversation

@lessevv

@lessevv lessevv commented Sep 12, 2026

Copy link
Copy Markdown

Summary

  • Adds dedicated /edge-components/* reference screens (top bar, bottom nav, side nav + their prop variants) that mirror the exact code samples in the nativephp.com docs, so screenshots can never drift from what's documented
  • Hides the side-nav screen's own nav bar so the drawer's ☰ affordance is the only leading icon, and simplifies its drawer rows to plain list items for a cleaner screenshot
  • Re-enables the previously-disabled checkbox/toggle/select/radio-group sections in ExploreForms, replacing the old hand-rolled pressable/icon fakes with the real <native:checkbox>, <native:toggle>, <native:select>, and <native:radio-group> components

Test plan

  • php artisan test --filter="EdgeComponents|DemoScreensSmokeTest" passes (53 tests)
  • Pint passes

🤖 Generated with Claude Code

lessevv and others added 4 commits September 10, 2026 22:11
…d side nav

Adds 9 screens under app/NativeComponents/EdgeComponents demonstrating every
Edge Component prop variant (display modes, scroll behavior, search fields,
destructive actions, a logo title slot, a search tab item, and a header
background image), listed in the demo launcher's own "Edge Components"
group and registered under /edge-components/*.

Repeated placeholder markup is factored into a shared partial
(native.partials.edge-component-note) instead of being copy-pasted across
files. Each screen is covered by a dedicated feature test asserting the
actual rendered props, not just that it mounts without error.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The docs' own hand-rolled examples for top-bar and bottom-nav already
demonstrate a @tap-bound search action, a URL-bound settings action, and
label-visibility on the bottom nav — none of which the reference screens
rendered, so regenerating docs screenshots from them would have silently
dropped those illustrations.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
It was plain unstyled text, unlike every other demo screen's caption
copy, and stood out for the wrong reason in a docs screenshot.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Hide the side-nav reference screen's own nav bar so the drawer's ☰
affordance is the only leading icon on screen, and swap its drawer rows
to plain list items for a cleaner docs screenshot.

Re-enable the previously-disabled checkbox/toggle/select/radio-group
sections in ExploreForms using the real <native:checkbox>,
<native:toggle>, <native:select>, and <native:radio-group> components
instead of the old hand-rolled pressable/icon fakes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@lessevv lessevv changed the title Feat/docs reference screens Add Edge Component showcase screens and re-enable form demos Sep 12, 2026
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