Skip to content

Demo app-switch affordance (no OS focus in browser) #152

Description

@jonocodes

App-switch affordance for the demo

In production, app/layout switching is driven by OS focus events from the platform backend. In a browser there is no OS focus, so the demo needs its own trigger — the one genuinely new piece with no real-world analog.

Build

  • A manual app-switcher strip the visitor can click to say "pretend Firefox / YouTube / VLC is frontmost now."
  • On switch, the MockDaemon resolves the matching virtual app + layout and emits a layout message, exactly as the daemon's focus watcher does — so App.tsx re-renders the grid, badge, theme, and icon with no special-casing.

Later (not this issue)

  • Optional autoplay that cycles apps for a hands-off marketing loop.

Reinforces Tier 2

The switcher changes what the mirror panel shows (focused app identity), so the two features validate each other.

Part of the mocked-demo epic. Depends on the MockDaemon foundation + virtual apps.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions