github rommapp/argosy-launcher v0.5.19

latest releases: v1.0.0-beta.41, v1.0.0-beta.40, v1.0.0-beta.39...
3 months ago

Input Handling Architecture Refactor

This release fixes input routing issues where apps were opening when navigating the drawer after visiting AppsScreen.

What's Fixed

  • Apps no longer receive input when the drawer is open
  • Input no longer routes to inactive screens after navigation
  • Eliminated race conditions in handler registration during screen transitions

Architecture Changes

  • New priority-based input routing: Modal > Drawer > View
  • Views now subscribe directly to InputDispatcher (no more state-checking in handlers)
  • Drawer explicitly subscribes when opening, unsubscribes when closing
  • Context changes (view switch, drawer open) automatically clear modal stack

Technical Details

  • Removed 110+ lines of appInputHandler logic from ViewModel
  • subscribeView() replaces handlers immediately (no onDispose races)
  • Added pushModal()/popModal() for future nested modal support

Don't miss a new argosy-launcher release

NewReleases is sending notifications on new releases.