Related PRs: #1196 #1197
Summary
Upgrade Compose Navigation to use type-safe routes, and fix several critical safety issues discovered during an audit of the org link flow.
Motivation
String-based routes are fragile and error-prone. The org link flow audit revealed data loss risks, crash vectors on malformed deep links, force-unwrap crashes, main-thread blocking, and scope lifecycle bugs.
Acceptance criteria
References
Closes #1196, #1197
Related PRs: #1196 #1197
Summary
Upgrade Compose Navigation to use type-safe routes, and fix several critical safety issues discovered during an audit of the org link flow.
Motivation
String-based routes are fragile and error-prone. The org link flow audit revealed data loss risks, crash vectors on malformed deep links, force-unwrap crashes, main-thread blocking, and scope lifecycle bugs.
Acceptance criteria
!!) with safe access and fallback behaviourrunBlockingon main thread with suspend functionsRouteRegistrywith route validation and stable alias supportnavFromNewUserCreation()OrgFeatureenumReferences
Closes #1196, #1197