-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 2023-10-12] [$500] Request money - Inappropriate Error message show up when going back #28086
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Everybody was OOO, so I assigned 10 random eligible people. |
ProposalPlease re-state the problem that we are trying to solve in this issue.In the first step of a manual money request, an invalid amount error message is being displayed when editing the amount after submitting an invalid amount for the first time. What is the root cause of that problem?In MoneyRequestAmountForm, the new amount input is being validated upon every change to the amount input. App/src/pages/iou/steps/MoneyRequestAmountForm.js Lines 136 to 138 in 4ea4a55
What changes do you think we should make in order to solve the problem?When the amount changes, if there was a previous form error, then set the form error to empty string.
Then remove the call to Adding an What alternative solutions did you explore? (Optional)None. |
I don't think this is a bug. After the first time the error appear, if the user go back and enter the invalid amount or clear it, the error will appear. It is the expected that is discussed in here #23712 |
While this is expected behavior, it doesn't look good to make currency and amount input dance whenever error appears/disappears. We can fix position no matter error shows or not so add absolute style to error view. Screen.Recording.2023-09-24.at.10.37.51.PM.mov |
@situchan Yeah agreed, the jumping currency input was discussed with the design team in #23712 (comment) but was considered a reasonable trade-off given the alternatives. |
@situchan This is a know bug in this PR but it is accepted here #23712 (comment). The problem is the wrap view of text input has style |
yes I know the root cause but jumping even on web which has enough height |
My proposal already tackles this. Basically, the idea is the error will only be displayed on if the button is clicked when the amount is invalid. As soon as the user starts modifying the amount again, the error is cleared, and will not be displayed until the button is clicked again with an empty amount field. |
cc @Julesssss Since the issue (#22660) that introduced this bug is still in the regression period, should this bug be treated as a regression or as a separate bug? |
I don't think this case should be treated as a regression personally |
Current assignee @Julesssss is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @akinwale 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
🎯 ⚡️ Woah @fedirjh / @akinwale, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.77-7 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 2023-10-12. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue: As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist:
Regression Test Proposal
|
Payment summary:
|
Payments are made to @akinwale and @fedirjh. I invited you to the job as well @daveSeife - could you accept and apply? |
Received. Thanks! |
All payments made. Closing. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Action Performed:
Expected Result:
The error should only show up after the user taps the button again
Actual Result:
An error message shows up
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.73.0
Reproducible in staging?: y
Reproducible in production?: n
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
Notes/Photos/Videos: Any additional supporting documentation
T150.Errormassagegoingback-1.mp4
Recording.4733.mp4
Expensify/Expensify Issue URL:
Issue reported by: @daveSeife
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695514629151899
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: