-
Notifications
You must be signed in to change notification settings - Fork 932
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ask user to swith account when reading code while signed in (#5271)
Task/Issue URL: https://app.asana.com/0/72649045549333/1208755822305612/f ### Description When a Sync signed in user reads a recovery code, ask them to confirm if they want to switch account. Includes: - Remote FF (disabled by default until implementation is completed) - Logic to handle that scenario when reading a QR code or introducing text manually. ### Steps to test this PR _Feature 1_ - [x] fresh install in 2 devices - [x] Go to Feature flags and enable FF `seamlessAccountSwitching` on both - [x] Create a Sync account in both devices (different ones) - [x] From both devices access Sync settings and select "Sync With Another Device" - [x] From one device, read the QR code from the other device - [x] Ensure it appears a dialog asking the user to switch accounts appears - [x] Click on switch account - [x] Confirm you are switched to the new account - [x] Confirm you see the recovery code screen and Device connected screen after that _Feature 2_ (continuation from previous test) - [x] logout one device, and create a new sync account there - [x] you should have again 2 devices on 2 different sync accounts - [x] From both devices access Sync settings and select "Sync With Another Device" - [x] From one device, click "share copy text" so you have the recovery code copied in the clipboard - [x] Send the code to the other device - [x] In the other device, from that "Sync With Another Device" screen, click on "Manually enter code" - [x] Click on paste code (which should be the code you copied before) - [x] Ensure it appears a dialog asking the user to switch accounts appears - [x] Click on switch account - [x] Confirm you are switched to the new account - [x] Confirm you see the recovery code screen and Device connected screen after that ### UI changes | Before | After | | ------ | ----- | !(Upload before screenshot)|(Upload after screenshot)|
- Loading branch information
1 parent
83e8be5
commit 0a1f156
Showing
19 changed files
with
678 additions
and
74 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.