-
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 2023-10-05] [$500] Web - There's no max length for editing private notes input #27694
Comments
Job added to Upwork: https://www.upwork.com/jobs/~017d2086d12246e4a8 |
Triggered auto assignment to @stephanieelliott ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @bfitzexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @burczu ( |
Proposal by: @hungvu193 ProposalPlease re-state the problem that we are trying to solve in this issue.There’s no max length limit for editing private notes TextInput and as I can see the browser is not responding after that. What is the root cause of that problem?We didn’t have maxLength for our TextInput in here, so when user pasted large amount of characters ( > 30,000), it will make the App frozen. App/src/pages/PrivateNotes/PrivateNotesEditPage.js Lines 118 to 132 in c77814f
What changes do you think we should make in order to solve the problem?We should add What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.There's no max length for editing private notes input What is the root cause of that problem?We didn’t have maxLength for our TextInput, so when the user pasted many characters until the app stopped responding. App/src/pages/PrivateNotes/PrivateNotesEditPage.js Lines 118 to 132 in c77814f
What changes do you think we should make in order to solve the problem?We should add maxLength={CONST.MAX_COMMENT_LENGTH} to our TextInput, similar to other TextInput. What alternative solutions did you explore? (Optional) |
A couple of proposals ready for review when you get a chance @burczu - thanks! |
@bfitzexpensify I'll be reviewing them soon. |
Reviewed both proposals (they are the same, and correct imo) and the one from @hungvu193 was the first and we should proceed with it. The question might be if want to use the same max length value as for comments ( 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
I think Yes because we're also using it for welcome message |
Yep sounds good, pretty straightforward change. |
📣 @hungvu193 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @hungvu193 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
🎯 ⚡️ Woah @burczu / @hungvu193, 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.74-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 2023-10-05. 🎊 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: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Switching this to daily so I'm aware of it and action it on 10/5 |
Payments complete, please review the BZ checklist when you get a chance @burczu - thanks! |
Friendly bump on the BZ checklist @burczu - thank you! |
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:
|
OK, let's close this out - thanks everyone |
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:
Private note input should be limit character like other input.
Actual Result:
There's no max length for editing private notes input.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.71.4
Reproducible in staging?: y
Reproducible in production?: new feature
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
Screen.Recording.2023-09-17.at.11.02.27.mov
Recording.4574.mp4
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694923317416409
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: