-
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
[HOLD for payment 2024-12-05] [$125] Wallet - No "Make default payment method" option after adding 2nd account #52641
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
Reproduced |
Job added to Upwork: https://www.upwork.com/jobs/~021857547420122900843 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Pretty minor bug, so adjusting price |
Upwork job price has been updated to $125 |
Edited by proposal-police: This proposal was edited at 2024-11-15 22:56:19 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The "Make default payment method" button is not appearing when a second payment method is added until the page is refreshed. What is the root cause of that problem?
This logic is insufficient because isSelectedPaymentMethodDefault remains true for previous default payment method, when we add a new payment method, until we refresh the page and the What changes do you think we should make in order to solve the problem?we can add the same check here, as I added in my last PR here:#51437 we can use this check :
update the condition:
as:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The "Make default payment method" option is not displayed in the three-dot menu of the first bank account added after adding 2nd account. A page refresh is needed to display the option What is the root cause of that problem?The condition to show the
App/src/pages/settings/Wallet/WalletPage/WalletPage.tsx Lines 317 to 319 in b0378aa
What changes do you think we should make in order to solve the problem?We should also use
What alternative solutions did you explore? (Optional) |
Pending @thesahindia review |
@joekaufmanexpensify, @thesahindia Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@Shahidullah-Muffakir's proposal is better for different scenarios. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@thesahindia, I believe the selected proposal might not work as intended because For example, add the fist payment method, we don't show the default badge for it. However, with the current proposal, the |
Thanks for pointing that out @Shahidullah-Muffakir. Updated my comment. |
Yep, good find. Let's do that too. |
@thesahindia, PR is ready for review, Thank you. |
PR in review |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.67-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-12-05. 🎊 For reference, here are some details about the assignees on this issue:
|
@thesahindia @joekaufmanexpensify @thesahindia The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
@thesahindia could you handle checklist so we can prep to pay? |
@Shahidullah-Muffakir offer sent for $125! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalTest:@joekaufmanexpensify, The steps are almost same as https://github.com/Expensify/Expensify/issues/447939, so I have combined them together. Could you please update it with the new steps? It will work for both issues.
Do we agree 👍 or 👎 |
Payment Summary
BugZero Checklist (@joekaufmanexpensify)
|
Consolidated regression test into https://github.com/Expensify/Expensify/issues/447939 |
Payment summary above is correct. All set to issue payment! |
@Shahidullah-Muffakir $125 sent and contract ended! |
Upwork job closed |
@thesahindia please request payment in NewDot at your earliest convenience. Closing as this is otherwise all set! |
$125 approved for @thesahindia |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.63
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #51437
Action Performed:
Expected Result:
The "Make default payment method" option is displayed in the three-dot menu of the first bank account added without needing a page refresh
Actual Result:
The "Make default payment method" option is not displayed in the three-dot menu of the first bank account added after adding 2nd account. A page refresh is needed to display the option
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6666585_1731691611157.51437-mWeb.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @joekaufmanexpensifyThe text was updated successfully, but these errors were encountered: