fix: The Back and error dismiss buttons do not respond when adding existing account #73392
Conversation
|
@dukenv0307 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] |
|
@dukenv0307 Lines 346 to 350 in bd83ec9 |
|
BUG: Close button doesn't work when failed to send a magic code error message is displayed
Screen.Recording.2025-10-23.at.10.15.59.at.night.movShould fix it here? |
Codecov Report❌ Patch coverage is
... and 359 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Yes, we should do it |
It also happens on staging, right? And does it have the same RCA as the original issue? I think the bug you mentioned is similar to the original one so we can raise the bounty if we fix it here. |
Yes, it is also reproducible on staging.
RCA: We are passing But Failed to send a magic code error is stored in actionVerified field of validateActionCode.errorFields. And when we click close button, we are trying to clear the error message from validateActionCode.errorFields.addedLogin field by calling clearValidateCodeActionError(validateCodeActionErrorField)Solution, we should clear the error from |
|
@etCoderDysto make sense. Can you please update the PR with the solution above? |
Sure! I will do that. |
|
@dukenv0307 I have made the change. Can you please review the code change? I have added a test for some of the pages that use |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-10-30.at.11.09.19.movAndroid: mWeb ChromeScreen.Recording.2025-10-30.at.11.07.15.moviOS: HybridAppScreen.Recording.2025-10-30.at.11.10.18.moviOS: mWeb SafariScreen.Recording.2025-10-30.at.11.06.21.movMacOS: Chrome / SafariScreen.Recording.2025-10-30.at.11.00.10.movMacOS: DesktopScreen.Recording.2025-10-30.at.11.11.00.mov |
|
✋ 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 staging by https://github.com/carlosmiceli in version: 9.2.41-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.2.41-6 🚀
|
Explanation of Change
Fixed Issues
$ #72754
PROPOSAL: #72754 (comment)
Tests
Offline tests
none
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Test 1
Test 2
Test 3
Test 4
Test 5
Test 6
Precondition: You have added a copilot
Test 7
Precondition: You have set up Expensify card
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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.Screen.Recording.2025-10-24.at.7.52.43.in.the.morning.mp4
Android.Screen.Recording.2025-10-29.at.8.08.07.in.the.evening.mp4
Android: mWeb Chrome
android.chrome.Screen.Recording.2025-10-24.at.7.49.13.in.the.morning.mp4
android.chrome.Screen.Recording.2025-10-29.at.8.06.03.in.the.evening.mp4
iOS: Native
ios.Screen.Recording.2025-10-23.at.9.55.56.at.night.mp4
ios.Screen.Recording.2025-10-29.at.7.53.29.in.the.evening.mp4
iOS: mWeb Safari
ios.safari.Screen.Recording.2025-10-23.at.10.00.51.at.night.mp4
safari.Screen.Recording.2025-10-29.at.7.57.34.in.the.evening.mp4
MacOS: Chrome / Safari
Screen.Recording.2025-10-29.at.4.18.27.in.the.afternoon.mp4
web.Screen.Recording.2025-10-29.at.4.21.34.in.the.afternoon.mp4
MacOS: Desktop
desktiop.Screen.Recording.2025-10-23.at.9.30.46.at.night.mp4
Desktop.Screen.Recording.2025-10-29.at.7.49.05.in.the.evening.mp4