Skip to content

Keep immersive owner and mode atomic - #726

Merged
hamzamerzic merged 1 commit into
mobius-os:mainfrom
hamzamerzic:refactor/immersive-request-state
Aug 10, 2026
Merged

Keep immersive owner and mode atomic#726
hamzamerzic merged 1 commit into
mobius-os:mainfrom
hamzamerzic:refactor/immersive-request-state

Conversation

@hamzamerzic

Copy link
Copy Markdown
Collaborator

Summary

  • keep the immersive holder and presentation mode in one reducer-owned request
  • replay each frame’s exact mode during live promotion
  • replace contradictory canvas booleans with one applied mode
  • keep hold bindings in runtime-owned weak state and remove the unused timing option

Why

The bar-collapse change stored ownership and mode separately, so a frame promotion or later holder could inherit stale presentation state. This follow-up makes invalid combinations unrepresentable and narrows the runtime and host seams without changing the interaction.

Follow-up to #722.

Testing

  • npm test
  • npm run lint -- --quiet
  • npm run build
  • npm run runtime:check

Co-authored-by: Möbius Agent <mobius-agent@users.noreply.github.com>
@hamzamerzic hamzamerzic added area: ui User interface and interaction design maintenance Internal cleanup, dependency, or upkeep work labels Aug 9, 2026
@hamzamerzic
hamzamerzic added this pull request to the merge queue Aug 10, 2026
Merged via the queue into mobius-os:main with commit d99786c Aug 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ui User interface and interaction design maintenance Internal cleanup, dependency, or upkeep work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant