Display 'Make default payment method' option for the first bank account without requiring a refresh after adding the second account#52971
Merged
techievivek merged 1 commit intoExpensify:mainfrom Nov 26, 2024
Conversation
…ent method or if it's already the default
|
@thesahindia 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] |
8 tasks
Member
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-11-26.at.12.04.28.AM.movAndroid: mWeb ChromeScreen.Recording.2024-11-25.at.11.52.56.PM.moviOS: NativeScreen.Recording.2024-11-25.at.11.40.54.PM.moviOS: mWeb SafariScreen.Recording.2024-11-25.at.11.34.37.PM.mov |
techievivek
approved these changes
Nov 26, 2024
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
75 tasks
Contributor
|
🚀 Deployed to staging by https://github.com/techievivek in version: 9.0.67-0 🚀
|
Contributor
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.67-9 🚀
|
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Explanation of Change
After adding a new payment method, the Make default payment method, was not showing on the previously default payment method without page refresh, with this PR, it will show without page refresh.
Fixed Issues
$ #52641
PROPOSAL: #52641 (comment)
Tests
user_good/pass_good) and complete the account addition process.because, default badge is not displayed when only one bank account exists.
Offline tests
This feature requires internet connection
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
andorid.20native-2.mp4
Android: mWeb Chrome
android.20chrome-3.mp4
iOS: Native
ios.Native.mov
iOS: mWeb Safari
ios.20Safari.mp4
MacOS: Chrome / Safari
macOS.20safari-3.mp4
MacOS: Desktop
ios.20desktop.mp4