The paste-to-create-attachment submits in-progress comment as file comment which isn't expected
Categories
(bugzilla.mozilla.org :: Bug Creation/Editing, defect, P3)
Tracking
()
People
(Reporter: mgaudet, Assigned: kohei)
Details
(Keywords: bmo-triaged)
Attachments
(4 files)
Pretty much every time I use the paste-to-create attachment feature I get bit by the same thing: It submits the in-progress comment.
Furthermore, the in-progress comment submitted isn't rendered as markdown, and so you get this awkward in progress comment of un-rendered text.
Would be nicer if it simply created the attachment, then put a markdown link at the cursor without submitting the comment.
Comment 1•1 year ago
|
||
I am not able to reproduce this as I understand the issue. Can you give a more detailed step by step of what you are doing when this occurs? Maybe a screen shot as well? I will try to better reproduce it on my end. Thanks.
| Reporter | ||
Comment 2•1 year ago
|
||
| Reporter | ||
Comment 3•1 year ago
|
||
The comment text is also preserved in the comment box, which suggests something has maybe gone wrong here too.
| Reporter | ||
Comment 4•1 year ago
|
||
This is the modal
| Reporter | ||
Comment 5•1 year ago
|
||
See how the comment was submitted, but the comment editor is still active with the contents of the submitted comment.
Comment 6•1 year ago
|
||
Ok I see what you are doing now. I was doing it differently which explains why I couldn't reproduce. I think the solution to this with the least surprise to the user would be to just attach the pasted content and leave out the comment portion that is currently in the text area. Let me see when I could get to this. Probably not til the first of the year or more.
| Reporter | ||
Comment 7•1 year ago
|
||
For sure. It's been like this for a long time, so no rush from me.
| Assignee | ||
Comment 8•4 months ago
|
||
I’ll volunteer to take this since I implemented the feature. I think removing this line will solve the issue.
Comment 9•4 months ago
|
||
Comment 10•4 months ago
|
||
Authored by https://github.com/kyoshino
https://github.com/mozilla-bteam/bmo/commit/93a1fc2b3a0c9bf44343846a6c50cf58664d3ef0
[master] Bug 1936614 - The paste-to-create-attachment submits in-progress comment as file comment which isn't expected
Description
•