Skip to content

feat: allow routes without a scene for filters and modals - #4

Open
logfox-agent wants to merge 1 commit into
mainfrom
feat/optional-route-scene
Open

feat: allow routes without a scene for filters and modals#4
logfox-agent wants to merge 1 commit into
mainfrom
feat/optional-route-scene

Conversation

@logfox-agent

Copy link
Copy Markdown
Collaborator

Summary

  • Make Route.scene optional so filters/modals can be in routes for is-interactive + miss-hint without switching scenes
  • Clicking a sceneless route no longer calls activate(undefined) (which cleared the active scene)
  • Docs + skill updated to match

Test plan

  • New unit test: sceneless route is interactive, steps aside, does not light miss hint, leaves scene alone
  • npm run validate
  • After publish: site can use { click: '[data-home-view-filter]' } (and timeframe) without a fake scene

Clickable controls that your own handlers drive still need the pointer and
must not trip the miss hint. Make Route.scene optional so those targets can
live in routes without forcing a fake scene switch.
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