Closed Bug 1518967 Opened 5 years ago Closed 5 years ago

Edit attachment as comment does markdown, which is very unexpected

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: dylan)

References

Details

Attachments

(1 file, 1 obsolete file)

It doesn't say that it will, and it doesn't give you a way to preview.

As a result, you get things like the pre-edit version of https://bugzilla.mozilla.org/page.cgi?id=comment-revisions.html&bug_id=1513241&comment_id=13850021 which Bugzilla helpfully won't actually show you the way it was rendering the comment. But trust me, it was completely unreadable as a code review.

Blocks: bmo-markdown

This should be beneficial for some other use cases, like the problem reported in IRC by Wes.

Fwiw, or "edit attachment as comment" you do want a monospace font for all the quoted stuff, since it's code.

Sounds like that means wrapping in ``` then

Which is a whole bunch of extra typing compared to the current workflow...

You also have to do the same for a bunch of the review comments, and if you forget you have no way to check whether you screwed up in the current setup where there is no preview.

I'm a little dubious of the value of proportional font for code review in general, since so much of it is code bits, but if we want it, we really need a preview here.

I'm trying to fix this with the constraint that my team doesn't want to put any effort into any code review in bugzilla. I'll hash something out today with the BMO peers.

Attached file GitHub Pull Request
Attachment #9035834 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
No longer blocks: bmo-markdown
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: