Skip to content

Revert "Fix Onboarding modal does not appear until clearing cache" - #103645

Open
carlosmiceli wants to merge 1 commit into
mainfrom
revert-103550-fix-103545
Open

carlosmiceli wants to merge 1 commit into
mainfrom
revert-103550-fix-103545

Conversation

@carlosmiceli

Copy link
Copy Markdown
Contributor

Reverts #103550

@carlosmiceli carlosmiceli self-assigned this Oct 9, 2026
@carlosmiceli
carlosmiceli requested review from a team as code owners October 9, 2026 18:45
@melvin-bot
melvin-bot Bot requested review from flaviadefaria and removed request for a team October 9, 2026 18:45
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T18:55:16.920499Z 30f0b4f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@melvin-bot
melvin-bot Bot requested review from inimaga and removed request for a team October 9, 2026 18:45
@melvin-bot

melvin-bot Bot commented Oct 9, 2026

Copy link
Copy Markdown

@inimaga Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 30f0b4fd18

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

* route). OnboardingGuard and useOnboardingFlowRouter gate whether/when a user actually lands here.
*/}
{!shouldSuppressPromotionalUI && !isVisitingSecureLink && !shouldHideOnboardingNavigator && (
{!shouldSuppressPromotionalUI && !isVisitingSecureLink && !Navigation.isValidateLoginFlow() && (

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Subscribe before gating onboarding on the active route

When AuthScreens initially renders with VALIDATE_LOGIN focused, this condition omits ONBOARDING_MODAL_NAVIGATOR, but the component no longer subscribes to root navigation-state changes. On a fresh sign-up where the onboarding data finishes loading before validation completes, leaving the validation screen alone therefore neither registers the navigator nor reruns useOnboardingFlowRouter, so onboarding can remain absent until an unrelated rerender or app-data reset. Restore the root-navigation-state subscription so completing validation immediately updates this gate.

Useful? React with 👍 / 👎.

* route). OnboardingGuard and useOnboardingFlowRouter gate whether/when a user actually lands here.
*/}
{!shouldSuppressPromotionalUI && !isVisitingSecureLink && !shouldHideOnboardingNavigator && (
{!shouldSuppressPromotionalUI && !isVisitingSecureLink && !Navigation.isValidateLoginFlow() && (

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve an existing onboarding route during validation

If a user already in onboarding opens a validation link and AuthScreens rerenders while VALIDATE_LOGIN is focused, this predicate unregisters the onboarding screen even though its route is already in the root stack. React Navigation then discards that route and its nested state, so returning from validation loses the user's in-progress onboarding position; the gate should hide onboarding only when validation is active and the onboarding route has not already been registered.

Useful? React with 👍 / 👎.

This branch has not been deployed

No deployments
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