Repository navigation
Bug 2092623 - Advance onboarding only when sync sign in completes - #454
Closed
corentinbect wants to merge 1 commit into
Closed
corentinbect wants to merge 1 commit into
corentinbect wants to merge 1 commit into
Conversation
Selecting "Sign in" on the onboarding sync sign in card opened `TurnOnSyncFragment` and also called scrollToNextPageOrDismiss() immediately. This ran `OnboardingFragment.onFinish` before sign in had completed, but it returned early because `TurnOnSyncFragment` was the current destination. As soon as the account was connected, the sign in `LaunchedEffect` in `OnboardingScreen` called `OnboardingFragment.onFinish` another time, resulting in a delayed navigation to the home screen. This patch applies the same handling as bug 2092151. The sign in click no longer advances onboarding. Instead, `TurnOnSyncFragment` reports completion when it closes with an authenticated account and `SyncFlowCompletedEffect` moves to the next page once and consumes the result.
corentinbect
force-pushed
the
bug2092623
branch
from
November 17, 2026 12:16
f7b3c95 to
e63ea67
Compare
|
No new issues detected. This pull request is 🆗 |
1 similar comment
|
No new issues detected. This pull request is 🆗 |
t-p-white
approved these changes
Nov 18, 2026
lando-worker Bot
pushed a commit
that referenced
this pull request
Nov 18, 2026
…white Selecting "Sign in" on the onboarding sync sign in card opened `TurnOnSyncFragment` and also called scrollToNextPageOrDismiss() immediately. This ran `OnboardingFragment.onFinish` before sign in had completed, but it returned early because `TurnOnSyncFragment` was the current destination. As soon as the account was connected, the sign in `LaunchedEffect` in `OnboardingScreen` called `OnboardingFragment.onFinish` another time, resulting in a delayed navigation to the home screen. This patch applies the same handling as bug 2092151. The sign in click no longer advances onboarding. Instead, `TurnOnSyncFragment` reports completion when it closes with an authenticated account and `SyncFlowCompletedEffect` moves to the next page once and consumes the result. Pull request: #454
|
Pull request closed by commit 21b577b |
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this pull request
Nov 19, 2026
…white Selecting "Sign in" on the onboarding sync sign in card opened `TurnOnSyncFragment` and also called scrollToNextPageOrDismiss() immediately. This ran `OnboardingFragment.onFinish` before sign in had completed, but it returned early because `TurnOnSyncFragment` was the current destination. As soon as the account was connected, the sign in `LaunchedEffect` in `OnboardingScreen` called `OnboardingFragment.onFinish` another time, resulting in a delayed navigation to the home screen. This patch applies the same handling as bug 2092151. The sign in click no longer advances onboarding. Instead, `TurnOnSyncFragment` reports completion when it closes with an authenticated account and `SyncFlowCompletedEffect` moves to the next page once and consumes the result. Pull request: mozilla-firefox/firefox#454 UltraBlame original commit: c5f7ef02b2462f5bd943830e2f81a1aacb281be3
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this pull request
Nov 19, 2026
…white Selecting "Sign in" on the onboarding sync sign in card opened `TurnOnSyncFragment` and also called scrollToNextPageOrDismiss() immediately. This ran `OnboardingFragment.onFinish` before sign in had completed, but it returned early because `TurnOnSyncFragment` was the current destination. As soon as the account was connected, the sign in `LaunchedEffect` in `OnboardingScreen` called `OnboardingFragment.onFinish` another time, resulting in a delayed navigation to the home screen. This patch applies the same handling as bug 2092151. The sign in click no longer advances onboarding. Instead, `TurnOnSyncFragment` reports completion when it closes with an authenticated account and `SyncFlowCompletedEffect` moves to the next page once and consumes the result. Pull request: mozilla-firefox/firefox#454 UltraBlame original commit: c5f7ef02b2462f5bd943830e2f81a1aacb281be3
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this pull request
Nov 19, 2026
…white Selecting "Sign in" on the onboarding sync sign in card opened `TurnOnSyncFragment` and also called scrollToNextPageOrDismiss() immediately. This ran `OnboardingFragment.onFinish` before sign in had completed, but it returned early because `TurnOnSyncFragment` was the current destination. As soon as the account was connected, the sign in `LaunchedEffect` in `OnboardingScreen` called `OnboardingFragment.onFinish` another time, resulting in a delayed navigation to the home screen. This patch applies the same handling as bug 2092151. The sign in click no longer advances onboarding. Instead, `TurnOnSyncFragment` reports completion when it closes with an authenticated account and `SyncFlowCompletedEffect` moves to the next page once and consumes the result. Pull request: mozilla-firefox/firefox#454 UltraBlame original commit: c5f7ef02b2462f5bd943830e2f81a1aacb281be3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Selecting "Sign in" on the onboarding sync sign in card opened
TurnOnSyncFragmentand also called scrollToNextPageOrDismiss() immediately. This ranOnboardingFragment.onFinishbefore sign in had completed, but it returned early becauseTurnOnSyncFragmentwas the current destination. As soon as the account was connected, the sign inLaunchedEffectinOnboardingScreencalledOnboardingFragment.onFinishanother time, resulting in a delayed navigation to the home screen.This patch applies the same handling as bug 2092151. The sign in click no longer advances onboarding. Instead,
TurnOnSyncFragmentreports completion when it closes with an authenticated account andSyncFlowCompletedEffectmoves to the next page once and consumes the result.Lando: link
Bugzilla: bug 2092623
🚫 This pull request has 1 blocker.