-
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-12-26] [$500] No error message when editing a chat to go past character limit #30921
Comments
Triggered auto assignment to @abekkala ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~019dbff50a5a453b18 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @burczu ( |
📣 @mpiniarski! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The 10,000 character max error message does not show when editing an existing message. What is the root cause of that problem?The This component was connected to Onyx to improve chat input performance: What changes do you think we should make in order to solve the problem?
// ReportActionCompose.js (new draft)
<ExceededCommentLength
reportID={reportID}
draftKey={ONYXKEYS.COLLECTION.REPORT_DRAFT_COMMENT}
onExceededMaxCommentLength={setExceededMaxCommentLength}
/>
// ReportActionItemMessageEdit.js (edit draft)
<ExceededCommentLength
reportID={reportID}
draftKey={ONYXKEYS.COLLECTION.REPORT_ACTIONS_DRAFTS}
onExceededMaxCommentLength={setExceededMaxCommentLength}
/> This allows the component to be used with any comment, and allows the consumer to specify where to retrieve it. This requires limited changes to the Before: export default withOnyx({
comment: {
key: ({reportID}) => `${ONYXKEYS.COLLECTION.REPORT_DRAFT_COMMENT}${reportID}`,
initialValue: '',
},
})(ExceededCommentLength); After: export default withOnyx({
comment: {
key: ({draftKey, reportID}) => `${draftKey}${reportID}`,
initialValue: '',
},
})(ExceededCommentLength); This approach allows Tested locally. What alternative solutions did you explore? (Optional)Making |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is no exceeded length error message on the edit composer. What is the root cause of that problem?In edit composer component, we pass both App/src/pages/home/report/ReportActionItemMessageEdit.js Lines 464 to 468 in ee0fb61
What changes do you think we should make in order to solve the problem?
|
Proposal
|
ProposalPlease re-state the problem that we are trying to solve in this issue.No error message and could not send the message What is the root cause of that problem?We're passing Earlier What changes do you think we should make in order to solve the problem?We should remove That will make sure the Detail Implementation:
What alternative solutions did you explore? (Optional)NA ResultScreen.Recording.2023-11-15.at.15.25.10.mp4 |
@burczu can you review the proposals? |
@abekkala I'm sorry, I've missed that one - I'll review proposals soon. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@erquhart Could you please be more specific how the |
@tienifr I've tried your solution but it does not work for me. Could you be more specific how do you pass |
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?
with
What alternative solutions did you explore? (Optional)
|
@burczu I went ahead and added a before/after to my proposal to clarify. |
@burczu Just add the detail implementation and result in my proposal. Can you please help check again? |
Thanks for your updates @erquhart and @tienifr, I'll get back to your proposals soon. @DylanDylann So, your solution actually rolls back the changes introduced in this performance PR: #25758 - are you sure it actually improves the performance? |
|
Triggered auto assignment to @laurenreidexpensify ( |
STATUS:I'm going ooo but this one is at the finish line and waiting payment on Dec 26.
|
Just a heads up I am OOO until 28 Dec, @DylanDylann @burczu so this will only be paid then, we have a skeleton team working next week so a few payments may be a little bit late |
@tgolen, @burczu, @abekkala, @laurenreidexpensify, @DylanDylann Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Payment Summary: Fix: @DylanDylann $500 paid in Upwork @burczu please complete checklist steps thanks |
@tgolen, @burczu, @abekkala, @laurenreidexpensify, @DylanDylann Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@tgolen, @burczu, @abekkala, @laurenreidexpensify, @DylanDylann Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@burczu bump to complete checklist thanks |
@burczu can you please complete the checklist so this issue can be closed. thanks! |
@tgolen, @burczu, @abekkala, @laurenreidexpensify, @DylanDylann Huh... This is 4 days overdue. Who can take care of this? |
LAST TASK: waiting on @burczu to complete checklist, then this issue can be closed. |
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:
Not found any.
I think it may be worth checking if we have such test for creating the report message and update it with the check for editing report message as well.
I'll post the regression test proposal in a separate message.
|
Regression test proposal
Do we agree 👍 or 👎 |
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: 1.3.95-5
Reproducible in staging?: y
Reproducible in production?: y
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
Expensify/Expensify Issue URL:
Issue reported by: @grgia
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1699281873727459
Action Performed:
Expected Result:
Error message should appear
Actual Result:
No error message and could not send the message
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Recording.206.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @burczuThe text was updated successfully, but these errors were encountered: