Skip to content

remove the ability to navigate back into the onboarding flow after completing onboarding#16916

Merged
adonesky1 merged 5 commits intodevelopfrom
remove-ability-to-navigate-back-into-onboarding-after-completion
Dec 13, 2022
Merged

remove the ability to navigate back into the onboarding flow after completing onboarding#16916
adonesky1 merged 5 commits intodevelopfrom
remove-ability-to-navigate-back-into-onboarding-after-completion

Conversation

@adonesky1
Copy link
Copy Markdown
Contributor

@adonesky1 adonesky1 commented Dec 12, 2022

Fixes issue where the secret recovery phrase state is not available when navigating back after completing onboarding. We now prevent users from navigating back into the onboarding flow at all after its completion. The one exception is when you click the Backup Now button on the Backup your Secret Recovery Phrase to keep your wallet and funds secure. reminder if you opted to not reveal and back up the security phrase in the initial onboarding flow.

Before

206736619-6f631afd-e96f-4eb8-8ed5-e94086a01be2.mp4

and backup reminder button takes us to V1 secure seedphrase flow instead of V2 even when feature flag is on:
https://user-images.githubusercontent.com/34557516/207154103-5e38e796-c18c-4ece-bf9d-a7b4c56f7ff6.mov

After

See you cannot navigate back after completing onboarding but you are able to navigate back to secure your wallet if you did not do so initially (the reminder here is hardcoded to show up immediately for demonstration purposes).
https://user-images.githubusercontent.com/34557516/207164461-1e6ea62d-6e5e-4538-8b9e-3f794188bc62.mov

Manual Testing Steps

  1. Load MM with Onboarding V2
  2. Go through Create Wallet flow until Home page
  3. Attempt to click back, see that you cannot navigate back

Pre-merge author checklist

  • I've clearly explained:
    • What problem this PR is solving
    • How this problem was solved
    • How reviewers can test my changes

@github-actions
Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@adonesky1 adonesky1 force-pushed the remove-ability-to-navigate-back-into-onboarding-after-completion branch from efd6cdf to 83c7962 Compare December 12, 2022 18:29
@adonesky1 adonesky1 force-pushed the remove-ability-to-navigate-back-into-onboarding-after-completion branch 2 times, most recently from 03ef35a to be158c8 Compare December 12, 2022 21:53
@adonesky1 adonesky1 force-pushed the remove-ability-to-navigate-back-into-onboarding-after-completion branch from be158c8 to 28ea4c9 Compare December 12, 2022 21:55
@adonesky1 adonesky1 marked this pull request as ready for review December 12, 2022 22:04
@adonesky1 adonesky1 requested a review from a team as a code owner December 12, 2022 22:04
@legobeat
Copy link
Copy Markdown
Contributor

Shouldn't the user be able to go back for e.g. enabling/disabling MetaMetrics in case they click the wrong button there or want to go back/change their mind before completion?

@adonesky1 adonesky1 force-pushed the remove-ability-to-navigate-back-into-onboarding-after-completion branch from eaa260c to 134f878 Compare December 13, 2022 15:24
@adonesky1
Copy link
Copy Markdown
Contributor Author

adonesky1 commented Dec 13, 2022

Shouldn't the user be able to go back for e.g. enabling/disabling MetaMetrics in case they click the wrong button there or want to go back/change their mind before completion?

All of the preferences we allow users to provide during onboarding can be found in settings if users wish to modify them:

Screen Shot 2022-12-13 at 9 25 36 AM

cc @legobeat

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [134f878]
Page Load Metrics (2284 ± 105 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint112162142147
domContentLoaded180325822255218105
load180325832284218105
domInteractive180325822255218105
Bundle size diffs
  • background: 0 bytes
  • ui: 65 bytes
  • common: 0 bytes

Copy link
Copy Markdown
Contributor

@digiwand digiwand left a comment

Choose a reason for hiding this comment

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

LGTM!

@adonesky1 adonesky1 merged commit 6a23dcc into develop Dec 13, 2022
@adonesky1 adonesky1 deleted the remove-ability-to-navigate-back-into-onboarding-after-completion branch December 13, 2022 18:08
@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2022
@seaona seaona added this to the v10.24.0 milestone Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Onboarding V2 Going backwards to previous screen displays 1 word seedphrase placeholder

6 participants