feature: Add validation flow to bank account set up#38726
feature: Add validation flow to bank account set up#38726NikkiWines merged 6 commits intoExpensify:mainfrom
Conversation
|
@allroundexperts 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] |
|
@allroundexperts I screenshotted all platforms except Android and iOS. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeN/A Android: mWeb ChromeScreen.Recording.2024-05-23.at.5.15.50.PM.moviOS: NativeN/A iOS: mWeb SafariScreen.Recording.2024-05-23.at.5.10.01.PM.movMacOS: Chrome / SafariScreen.Recording.2024-05-23.at.4.48.45.PM.movMacOS: DesktopDesktop.Recording.mov |
|
BUG On going back after verification, you get logged out automatically. Screen.Recording.2024-05-23.at.4.54.19.PM.mov |
|
On going back, |
|
This seems connected to me. To make things faster, maybe we can request a bounty increase instead of creating a separate issue. |
|
@allroundexperts It's a backend issue. After we validate the account, if we call any other API, BE returns that the session has expired. Screen.Recording.2024-05-28.at.16.14.36.movScreen.Recording.2024-05-28.at.16.17.14.mov |
|
To fix this issue I think when we validate the default contact method, BE should return a new authToken or not expire the current token of the user cc @NikkiWines |
|
@NikkiWines Can you check if this can be fixed from the backend? |
|
Yep, I'll take a look today! |
allroundexperts
left a comment
There was a problem hiding this comment.
Looks good other than the logout issue which seems to be related to the backend. @NikkiWines is investigating that.
|
Coincidentally, it looks like we have an open PR to resolve this bug as part of a different issue - #35791 @hayata-suenaga do you have an ETA for that PR by any chance? |
|
I think we can merge this since the bug is un-related to this PR. |
|
That PS was in my backlog. Seems like this PR is not related to my PR 😄 |
|
I think we can merge this since the bug is un-related to this PR. @NikkiWines What do you think about this? |
|
@hayata-suenaga it is related to your PR (though unbeknownst to you until now) as the functionality you added in https://github.com/Expensify/Web-Expensify/pull/41180 is being utilized as part of this new feature. However, agreed with @allroundexperts that we can merge this PR as is since the sign-out issue is already known will presumably be fixed with #35791. |
NikkiWines
left a comment
There was a problem hiding this comment.
Looks good though clicking on the verify the account link the first time fails to redirect the user appropriately.
After that it works fine though 👍
Screen.Recording.2024-06-05.at.22.19.20.mov
src/languages/en.ts
Outdated
| phrase2: 'sign back in with a magic code', | ||
| phrase2: 'sign back in with a magic code ', | ||
| phrase3: 'or ', | ||
| phrase4: 'verify the account here', |
There was a problem hiding this comment.
Let's change this to verify your account here (and also update the Spanish copy accordingly)
NikkiWines
left a comment
There was a problem hiding this comment.
Works great aside from the aforementioned log out issue.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.81-11 🚀
|
|
Hi @dukenv0307, I am working on extracting the component you have built here and use it on 2FA page when user is not validated. I am facing this navigation issue while trying to use the component on CodeStep of 2FA page. For the past few days, I have been trying to investigate the issue to no avail. Could you please help me understand the issue? Thank you! |
Details
Fixed Issues
$ #33035
PROPOSAL: #33035 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
android-mweb-resize.mp4
iOS: Native
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
web-resize.mp4
MacOS: Desktop
desktop-resize.mp4