Skip to content

Conversation

@domexie
Copy link

@domexie domexie commented Jan 1, 2026

On web, the NewSessionScreen component could be unmounted during navigation to picker screens, causing the module-level callback handlers to be reset to empty functions. This resulted in machine and path selections being lost when returning from picker screens.

Fix by using URL parameters to pass selections back from picker screens, which works reliably even when components are remounted. The callback mechanism is kept for native platforms where it works.

Generated with Claude Code via Happy

On web, the NewSessionScreen component could be unmounted during
navigation to picker screens, causing the module-level callback
handlers to be reset to empty functions. This resulted in machine
and path selections being lost when returning from picker screens.

Fix by using URL parameters to pass selections back from picker
screens, which works reliably even when components are remounted.
The callback mechanism is kept for native platforms where it works.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
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