Account - RBR is shown after removing secondary contact#72028
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 6 files with indirect coverage changes 🚀 New features to boost your workflow:
|
src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.tsx
Outdated
Show resolved
Hide resolved
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
Bug: on successful verification, the RBR shows in the other device if it has any errors earlier. In the current implementation, it is cleared on unmount which looks correct though. Screen.Recording.2025-10-10.at.18.42.14.mov |
|
@Pujan92 It seems like we still need to clear error in clean-up function. I think we can use the second solution I mentioned in the proposal that uses |
|
How will the Ref help us here? |
|
@Pujan92 We're using |
|
@Pujan92 Could you please help to check comment above ^ ? |
|
@thelullabyy Thanks, let's proceed with it. |
…1-RBR-is-shown-after-removing-second-contact
…1-RBR-is-shown-after-removing-second-contact
|
@Pujan92 Pls re-review it. Thanks |
Pujan92
left a comment
There was a problem hiding this comment.
LGTM!
Screen.Recording.2025-10-31.at.15.56.58.mov
Screen.Recording.2025-10-31.at.15.54.19.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/MonilBhavsar in version: 9.2.43-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.2.43-2 🚀
|
Explanation of Change
Fixed Issues
$#71741
PROPOSAL:#71741 (comment)
Tests
Offline tests
QA Steps
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.mov
Android: mWeb Chrome
android_chorme.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios_safari.mov
MacOS: Chrome / Safari
chorme.mov
MacOS: Desktop
desktop.mov