-
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 2022-03-02] After you transfer your balance the wallet page doesn't automatically update #7626
Comments
Triggered auto assignment to @bondydaa ( |
Triggered auto assignment to @zanyrenney ( |
triage complete -- looks like they already tagged with eng, so not reapplying the label again now. |
Hmm I'm not super familiar with this code to know off hand if this is a client issue (maybe onyx isn't being updated properly) or an API issue (maybe we're not returning the updated balance properly) so I can't tell if this is external or not. I'll take a look and see what I can find out. |
There are a couple of issues here.
|
alrighty looks like the API doesn't return anything back to the client https://github.com/Expensify/Web-Expensify/blob/5988e0dc06223c766c5f57b4eea4773963802654/api.php#L2279-L2280 Personally I think we probably should just update the API to return the remaining balance so that we don't have to then just make another call to the API to get the balance but 🤷 seems like it was built this way on purpose. I think the bug is that here: App/src/libs/actions/PaymentMethods.js Line 203 in 56c97f4
balance key on the USER_WALLET but looking at the rest of the code we refer to currentBalance when trying to render the balance:
|
looks like it was added in this PR #6878 |
Oh, yeah. You are correct. I added this code and this should be |
Triggered auto assignment to @kadiealexander ( |
coolio throwing the external label and un-assigning myself, fix seems simple enough 👍 |
Proposal
Confirmation Modal is shown correctly. The linked video was recorded on the web info This fixes the linked issue. |
Posted to Upwork! https://www.upwork.com/jobs/~012f263a77525f0ae0 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Triggered auto assignment to @NikkiWines ( |
I would like to fix this via proposal @NikkiWines |
Yep, @parasharrajat's proposal looks good! 👍 |
PR will be live shortly. |
@kadiealexander can you hire @parasharrajat for this job please. TY! |
Hired! Thanks @parasharrajat :) |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.39-3 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 2022-03-02. 🎊 |
Paid! Thanks @parasharrajat 😊 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Account balance should update after transfer is made
Actual Result:
After you transfer your balance the wallet page doesn't automatically update
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.36-0
Reproducible in staging?:
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
2022-02-07_15-16-21.mp4
Expensify/Expensify Issue URL:
Issue reported by: @puneetlath
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1643563169531119
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: