-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: reuse ValidateCodeActionModal in wallet settings page #51267
fix: reuse ValidateCodeActionModal in wallet settings page #51267
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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and tests well
@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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far
@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 🚀
|
@@ -191,7 +191,7 @@ function SettlementButton({ | |||
|
|||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 account
pageOffline tests
N/a
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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