-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-04-15] [$250] Taxes - Transaction thread shows skeleton loading when saving 0.00 tax amount for second time #39701
Comments
Triggered auto assignment to @cristipaval ( |
Triggered auto assignment to @bfitzexpensify ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@bfitzexpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think this issue might be related to the #collect project. |
Looking here... |
Job added to Upwork: https://www.upwork.com/jobs/~01091a68b65c340a6a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann ( |
Making it external to see if anyone has proposals as I am close to log off |
ProposalPlease re-state the problem that we are trying to solve in this issue.In Step 6, $NaN is shown briefly in the system message. What is the root cause of that problem?When we try to save the tax amount while entering nothing, it's still saving the empty value (which is converted to In this, we're not validating the What changes do you think we should make in order to solve the problem?We need to update this to
So that the "amount empty" error will be validated in all cases, (tax amount form won't be an exception). But it will still allow tax amount to be 0 (since we still have the What alternative solutions did you explore? (Optional)NA |
Should we not allow saving empty value at the first place? |
@MonilBhavsar You mean to show an error like |
But it will look like the tax amount is a required thing, it might confuse the users. In my proposal, the UX will be, we still dismiss the modal but we'll not save anything, which is similar to the Like if tax amount is |
Yes, we have a text
It is! User cannot save empty value. They need to enter a number ranging from 0 to maximum allowed value, calculated on basis of expense amount |
Proposal updated with alternative solution that will show an error if the tax amount is empty. @MonilBhavsar Let me know if that looks good 👍 |
And would you be please able to prioritize PR, given it is a deploy blocker? |
Okay fine with that. Thanks for looking |
Thanks, I'm working on the PR now, will raise in a bit |
Thanks for jumping into this one, @MonilBhavsar |
@MonilBhavsar The PR is ready. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.60-13 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-04-15. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payment Summary
BugZero Checklist (@bfitzexpensify)
|
I don't think a specific regression test is needed for this - it should be caught in regular tax testing. Payment complete, so closing this one out. |
Sorry @bfitzexpensify It seems I wasn't paid here, could you reopen the issue to help with this? TIA |
@nkdengineer this one was paid on April 16th - title for the Upwork job was Reviewer - [$250] Taxes - Transaction thread shows skeleton loading when saving 0.00 tax amount for second time |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.60-8
Reproducible in staging?: Y
Reproducible in production?: N
Found when validating PR : #33927
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Precondition:
Expected Result:
In Step 6, when saving 0.00 tax amount, the system message will not show $NaN amount,
In Step 7, when saving 0.00 tax amount for the second time, the app will not show skeleton loading.
Actual Result:
In Step 6, $NaN is shown briefly in the system message.
In Step 7, transaction thread shows skeleton loading when saving 0.00 tax amount for second time.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6438827_1712298111790.20240405_141500.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: