-
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 2024-10-25] [$250] Chat - User is able to send message with max character limit #48888
Comments
Triggered auto assignment to @anmurali ( |
@anmurali 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 |
Edited by proposal-police: This proposal was edited at 2024-09-10 13:03:27 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - User is able to send message with max character limit What is the root cause of that problem?We don't disable the Send button on Send Attachment modal if the message exceed the max char on the composer What changes do you think we should make in order to solve the problem?Add new props here called and disabled the send button if it
Then here pass the
Or we can assign the
and don't change this What alternative solutions did you explore? (Optional)We can disable the attachment item on the popovermenu if Add new props here Add
Then here pass the
|
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
if (hasExceededMaxCommentLength) {
setIsModalOpen(false);
setIsAttachmentInvalid(true);
setAttachmentInvalidReasonTitle('attachmentPicker.maxLengthExceed');
setAttachmentInvalidReason('attachmentPicker.maxLengthExceedSubtitle');
return false;
}
What alternative solutions did you explore? (Optional)ResultScreen.Recording.2024-09-11.at.19.09.51.mov |
@anmurali Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@anmurali 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@anmurali 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@anmurali 12 days overdue. Walking. Toward. The. Light... |
@anmurali this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Job added to Upwork: https://www.upwork.com/jobs/~021838751947628833125 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Pujan92 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
|
I will review this tomorrow. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@Pujan92 - This still needs your review, can you pls prioritize this? |
@Pujan92 I think we should actually go with both @nyomanjyotisa's primary and alternative solutions of disabling the "Add attachment" and "Send" buttons. It seems safer to disable them in both places in the UI. |
📣 @nyomanjyotisa 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.50-8 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-10-25. 🎊 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:
|
Regression Test Steps
|
@anmurali, @Pujan92, @jasperhuangg, @nyomanjyotisa Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Payment Summary
|
@anmurali @jasperhuangg Be sure to fill out the Contact List! |
$250 approved for @Pujan92 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.31-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4943661
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
User should not be able to send messages over 10k characters
Actual Result:
User is able to send messages over 10k characters if there is added attachment.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6597905_1725908762232.Screen_Recording_20240909_214223_Chrome.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @anmuraliThe text was updated successfully, but these errors were encountered: