Introduces a mechanism to cache and resolve the user's entry route
based on their authentication status and profile progress. This
ensures users are redirected to their correct application state
(e.g., questions list, finding match, or intro) more reliably and
efficiently.
Key changes:
- Added `entry-route-cache` utility to manage `HABIB_MARRIAGE_ENTRY_PATH`
cookie with path validation.
- Implemented `EntryRouteResolver` component to handle initial
routing logic and bridge synchronization.
- Refactored `getSubmitPath` and `hasCompletedMarriageProfileBasics`
to distinguish between incomplete onboarding (terms) and
completed basics (questions list).
- Updated `authBridge` and `use-profile-main` to trigger cache
updates on token changes or profile fetches.
- Improved `SliderPage` navigation guards to prevent skipping
terms/rules.
- Added `NetworkImage` component for better handling of remote
image loading and fallbacks.
- Enhanced `LoadingSkeleton` with a new `white` shimmer variant.
- Updated `TokenSwitcher` to clear cached routes on logout/switch.
- Added comprehensive unit tests for new routing and auth logic.