-
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 2022-05-20] [$1000] Workspace - Unable delete the unlimited numbers under rate in Reimburse expenses page #8309
Comments
Triggered auto assignment to @Gonals ( |
Lol. This is a good one. We didn't notice that the browser will use the |
@Gonals Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Triggered auto assignment to @kadiealexander ( |
Looks like a pretty good issue! Setting as external and weekly |
Posted to Upwork! Internal: https://www.upwork.com/ab/applicants/1508929160732057600/job-details |
This is missing Exported label. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Triggered auto assignment to @pecanoro ( |
Good catch, thanks @parasharrajat! |
Please let us know the final expected behavior. |
Cool, so I'd vote we go for limiting to 8 digits (before the decimal) like |
Yeah anything less than Out of curiosity - is there a reason we are correcting the value in the debounce function, and not in |
I am good with #8309 (comment). What do you think @pecanoro?
So that users can type freely and modify the value if needed. |
Yes! It sounds good, I doubt the rate will go to anything closer to that ever, or at least I doubt we will be here to see it hahaha |
Can someone update the Expected behavior with #8309 (comment)? Accepting proposals now for the new behavior...... |
I'm somewhat new to this – I imagine I can just resubmit a proposal w/ a solution only (given I explained the problem above)? ProposalSolutionChange the regex we use in Line 633 in 7029b6f
to This has the intended behavior, as shown below Quick UX note: this makes the behavior more in line with that of |
I am also confused to determine the best solution for this problem. we recently published some rules which restrict us from manipulating the user input. Need help from @luacmartins to determine the best course here. 🙇 |
@parasharrajat what part exactly do you need help with? I think it's fine to limit the rate to 8 digits before decimal and 3 decimal digits. |
Ok, Thanks. I will review the proposal tomorrow. |
Hey @parasharrajat - no rush, but just wanted to see if there's anything I can provide here! |
Sorry, I was sick for few days past week. Looking into now. |
@izhan What happens when you input more than 3 decimals? Because the original problem was that those decimals couldn't be removed and it seems the regex still let you input more than 3. |
I think that was never an issue (here I'm adding >3 decimals on staging) Screen.Recording.2022-04-28.at.11.57.46.AM.movI think the original issue was removing decimals of any large number that converted to scientific notation, which this PR should fix with the 8-digit limit |
Ohh you are right, the scientific notation was the issue here. Perfect, all good then, go ahead and apply for the job! |
📣 @izhan You have been assigned to this job by @pecanoro! |
PR is here #8838 |
Issue not reproducible during KI retests. (First week) |
@izhan - paid! |
@kadiealexander Done. |
All paid!! Thanks team! |
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:
Expected Result:
Limiting rate to 8 digits (before the decimal). We should still maintain 3 decimal places because that's the default IRS rate. E.g 12345678.123
Actual Result:
Unable to delete the numbers under rate in Reimburse expenses page
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.46.0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): applausetester+0707abb@applause.expensifail.com / Feya87Katya
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Bug5505054_Recording__115.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: