-
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
[$500] Wallet - Wallet page does not update instantly when bank account is added or deleted #29767
Comments
Triggered auto assignment to @adelekennedy ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Wallet page doesn't update the wallet section on add/deletion of an account What is the root cause of that problem?Showing of that section depends on the What changes do you think we should make in order to solve the problem?We should add dependencies App/src/pages/settings/Wallet/WalletPage/WalletPage.js Lines 248 to 250 in 623ea84
We can combine two(1, 2) blocks to one like below. useEffect(() => {
if (network.isOffline) {
return;
}
PaymentMethods.openWalletPage();
}, [network.isOffline, bankAccountList, cardList]); ResultScreen.Recording.2023-10-17.at.22.21.25.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~0195a510ee20eb2208 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When the bank account is added, Expensify Wallet does not show up until the Wallet page is revisited. What is the root cause of that problem?In here, we use the content of the What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)In 3, if we don't want to change the back-end, we can proactively trigger |
two proposals above for you @situchan |
still pending a review |
Triggered auto assignment to @jasperhuangg, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@jasperhuangg please check @Pujan92 proposal |
@situchan just curious why you think it should not? We use Pusher all around the app. |
bank account setup is offline blocked. So it doesn't make sense to have optimistic data |
@situchan back account deletion is not offline-blocked though, so for deletion do you agree we can add optimistic data? |
@jasperhuangg will decide if this should be fixed purely on backend (by sending wallet pusher data) or this proposal is fine to go. |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
I think updating the useEffect here makes sense, let's move forward with that! |
📣 @Pujan92 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@Pujan92 @jasperhuangg @adelekennedy @situchan this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@Pujan92 friendly bump! |
@situchan @jasperhuangg PR is ready for review! |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
This issue has not been updated in over 15 days. @Pujan92, @jasperhuangg, @adelekennedy, @situchan eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@jasperhuangg This requires backend fix as per #31149 (comment) |
Got it, thanks. I'll look into it when I get the chance! |
This issue has not been updated in over 15 days. @Pujan92, @jasperhuangg, @adelekennedy, @situchan eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
I still haven't had a chance to look into this, but I can probably take another look at this this week. |
I can't seem to reproduce this bug anymore. Even though we initially weren't sending out a Pusher update for the wallet in Onyx, we send one out when the user finishes the Terms KYC step. I don't think this bug should be happening anymore. |
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: 1.3.85-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR #28316
Action Performed:
Expected Result:
The Wallet page should update instantly when bank account is added or deleted
Actual Result:
When the bank account is added, Expensify Wallet does not show up until the Wallet page is revisited.
The same also happens when the bank account is deleted - Wallet introduction page only shows up after revisting the Wallet page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Bug6240239_1697536241317.20231017_132411.mp4
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: