fix: reuse ValidateCodeActionModal in wallet settings page#51267
fix: reuse ValidateCodeActionModal in wallet settings page#51267francoisl merged 14 commits intoExpensify:mainfrom
Conversation
|
@aimane-chnaif 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] |
|
@luacmartins could we hold merging this for a bit? i am thinking of including a fix for #51266 in this PR |
|
Yea, go for it |
|
Managed to fix it Screen.Recording.2024-10-22.at.8.09.38.in.the.evening.mov |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
@aimane-chnaif yes, there could be a couple of unrelated issues i'll keep you updated. |
|
Please let me know when all bugs are fixed and ready for review |
|
@aimane-chnaif do you have any idea why a screen reloads after reopening the app from background, doesn't happen on other screens or similar issue you'd remember? Screen.Recording.2024-10-22.at.11.46.00.at.night.mov |
src/pages/settings/Security/AddDelegate/ConfirmDelegatePage.tsx
Outdated
Show resolved
Hide resolved
|
@aimane-chnaif it should be fixed now |
|
@getusha now, navigating back from the Validate Your Account page in the Pay someone flow doesn't change the route anymore, and renders a blank left-hand panel, can you take a look please? Screen.Recording.2024-10-22.at.3.39.55.PM.mov |
|
@aimane-chnaif By reading your comments, are you saying this PR will fix this issue? |
|
Back navigation is working fine now 👍 Screen.Recording.2024-10-22.at.4.10.33.PM.mov |
|
@francoisl looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
…al-wallet-section fix: reuse ValidateCodeActionModal in wallet settings page (cherry picked from commit c12fe34) (CP triggered by yuwenmemon)
|
Not an emergency, tests were passing. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/yuwenmemon in version: 9.0.52-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
@pecanoro no, I skipped issues which were demoted to NAB and checked off here |
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.52-5 🚀
|
| if (iouPaymentType === CONST.IOU.PAYMENT_TYPE.EXPENSIFY || iouPaymentType === CONST.IOU.PAYMENT_TYPE.VBBA) { | ||
| if (!isUserValidated) { | ||
| Navigation.navigate(ROUTES.SETTINGS_WALLET_VERIFY_ACCOUNT.getRoute(ROUTES.SETTINGS_ADD_BANK_ACCOUNT)); | ||
| Navigation.navigate(ROUTES.SETTINGS_WALLET_VERIFY_ACCOUNT.route); |
There was a problem hiding this comment.
This caused an issue where refreshing the page goes to verify page from chat page, more info - #50285

Details
Fixed Issues
$ #51258
$ #51266
$ #51274
$ #51277
$ #51276
PROPOSAL:
Tests
Add bank accountpageOffline tests
N/a
QA Steps
Same as tests
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
Screen.Recording.2024-10-22.at.7.23.36.in.the.evening.mov
Android: mWeb Chrome
Screen.Recording.2024-10-22.at.7.09.50.in.the.evening.mov
iOS: Native
Screen.Recording.2024-10-22.at.7.28.22.in.the.evening.mov
iOS: mWeb Safari
Screen.Recording.2024-10-22.at.7.11.24.in.the.evening.mov
MacOS: Chrome / Safari
Screen.Recording.2024-10-22.at.6.59.56.in.the.evening.mov
MacOS: Desktop
Screen.Recording.2024-10-22.at.7.19.26.in.the.evening.mov