-
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
[$500] Chat - The line breaks won't clear/appear on the chat #35417
Comments
Triggered auto assignment to @slafortune ( |
Job added to Upwork: https://www.upwork.com/jobs/~01c9ba0e8e79576abf |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
We think that this bug might be related to #vip-vsb |
ProposalPlease re-state the problem that we are trying to solve in this issue.The line breaks won't clear/appear on the chat What is the root cause of that problem?We are early returning if length is zero after trimming the comment App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.js Lines 336 to 342 in a44e804
What changes do you think we should make in order to solve the problem?We should take the clearing code before the early return App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.js Lines 339 to 342 in a44e804
What alternative solutions did you explore? (Optional) |
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)
|
@slafortune @thesahindia Should the behavior be "Once we type anything in composer, upload an attachment, then click on "Send" button, just the attachment is sent, anything we type in composer still persists. In other words, we will consider the sending attachment and sending text to be separately" |
I think that the "attachment" should always be attached to the message - with one send. If someone want to send something separate, they would simply add only an attachement. |
@slafortune I think it can make users confuse. Currently, clicking on "Send" button in the attachment modal (see below image) will send the attached with a message that the user has typed, so it can make user confuse that: why I just click on "Send" attachment, but the text message is also sent? |
Although I can't give the link to the discussion (difficult to find it), I remember I have come up with a discussion that this |
Yeah there was a discussion in the past. |
@FitseTLT, I think your solution will cause a regression. If we reach the character limit and send an attachment the composer will get clear. |
@thesahindia Do you have any feedback about my proposal here? Note that you can ignore my alternative solution based on this comment |
@thesahindia If we don't want to clear it in this case, we can separate the condition and clear only when the trimmed comment is empty to deal with this current issue App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.js Lines 339 to 342 in a44e804
|
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I think we should close this for more pressing issues, as the functionality is working as discussed. Thoughts on this @thesahindia ? |
Your solution looks good to me but can you test it thoroughly and verify that there won't be any regressions? |
I am fine with closing this since it's an edge case and it will be just a small improvement. |
@slafortune @thesahindia this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@slafortune, @thesahindia Huh... This is 4 days overdue. Who can take care of this? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.33.0
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: Applause- Internal Team
Slack conversation:
Issue found when executing PR #35300
Action Performed:
Expected Result:
Line breaks should clear/appear on the chat.
Actual Result:
If you send an attachment, the line breaks won't clear/appear on the chat.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6361104_1706633504689.XLII8792.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: