Display banner to enable 2FA when setting up VBBA#12424
Conversation
|
Please hold reviewing for now. Was supposed to be draft. Need to update some things |
|
This is ready for review now 👍 |
|
@MonilBhavsar looks like we have some lint errors |
|
@rushatgabhane fixed |
|
struggling with test steps as getting to validation step is internal only (dummy data doesn't work) trying to figure out a workaround |
@MonilBhavsar sorry but I don't think this flow can be tested externally. @pecanoro all yours! |
|
@rushatgabhane are you getting to validation and verification step now? |
|
@MonilBhavsar not quite. I tried uploading a dummy passport I can't proceed after - |
|
Ah I see, doesn't the test bank account skip onfido flow? |
|
Also this is off HOLD |
Ahhh, I don't have any details about the test bank account. Maybe you could help me with that? |
|
I asked but as per the discussion, @pecanoro you'll need to test it |
|
Sorry for the delay, I will test this tomorrow, can you in the meantime solve the conflicts, please? |
fe0a15c to
d38d5c9
Compare
|
Ok, I will try retest everything again now that we solved the deploy blocker. |
| /** Bank account currently in setup */ | ||
| reimbursementAccount: reimbursementAccountPropTypes, | ||
|
|
||
| account: PropTypes.shape({ |
There was a problem hiding this comment.
The guidelines mention: "All props are defined accurately and each prop has a /** comment above it */"
|
You also need to merge with main so you can retest the PR after all the changes. |
|
Ok, I completed the checklist, it works pretty well. Please address the comment, update the screenshots after merging with main and I will merge it tomorrow!! |
|
@MonilBhavsar Something that is not fully working for me but it might just my emulator is opening the link from mobile safari to set up 2FA on oldDot, it's not redirecting. Can you check? |
|
You'll need to go to Settings > Safari > and disable "block pop-ups" |
|
Addressed reviews and merged main |
|
Updated screenshots with dark theme cc @shawnborton |
|
Looks good! |
|
@rushatgabhane Ready for your final review and I will merge after!! |
rushatgabhane
left a comment
There was a problem hiding this comment.
@pecanoro good to merge!
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
Hey @MonilBhavsar, @mvtglobally / @kavimuru and I were unable to QA this on staging, and with different errors. After enabling 2FA, they get redirected back to the "Connect Bank Account Page" (see #13326 (comment)), whereas the NewDot shows a loading spinner forever for me, on mWeb iOS & Android: Screen.Recording.2022-12-07.at.9.34.44.AM.movAny idea what could be going on? |
|
🚀 Deployed to production by @francoisl in version: 1.2.36-4 🚀
|
|
I'm also seeing this issue on web. Looks like something has changed. I think we'll need to specify the route more specifically. |
| icon: Expensicons.Shield, | ||
| shouldShowRightIcon: true, | ||
| iconRight: Expensicons.NewWindow, | ||
| iconFill: themeColors.success, |
There was a problem hiding this comment.
👋 Heads-up that this has caused a small visual issue in #20932
This icon wasn't changing color on hover, since we were overriding its color with iconFill prop

Details
Fixed Issues
https://github.com/Expensify/Expensify/issues/238668
PROPOSAL: N/A
Tests
Let user have 2FA disabled
Tests with https://github.com/Expensify/Web-Expensify/pull/35394.
http://localhost:8080/bank-accountQA Steps
Prerequisite: User should have 2FA disabled in olddot > Settings > Accounts
Now,
staging.new.expensify.com/bank-account/PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android