-
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
Display 'Make default payment method' option for the first bank account without requiring a refresh after adding the second account #52971
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] |
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 |
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.
Works well!
✋ 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/techievivek in version: 9.0.67-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.67-9 🚀
|
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 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
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