Insert form widgets for approval flag requests instead of free-form comment text

RESOLVED FIXED

Status

()

--
enhancement
RESOLVED FIXED
7 months ago
2 months ago

People

(Reporter: kohei, Assigned: kohei)

Tracking

(Blocks: 2 bugs, {bmo-ux, ux-efficiency})

Production
bmo-ux, ux-efficiency
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

This is a request from the Release Management team.

Currently, when you select "?" for an approval flag like "approval‑mozilla‑release" on the attachment page [1], predefined text titled "Approval Request Comment" will be inserted to the comment box. It's a bit difficult to fill in the free-form text because you have to type everything including Yes/No questions, and therefore the resulting comment can be messy.

The plan is to improve the UX by instead inserting a temporary HTML form with the same questions, and convert the input values into plain text comment when submitting the outer form. Later we could use Markdown for a better formatting.

Unlike the existing request comments stored in the database, the HTML forms will probably be hardcoded in a new template within the BMO extension, assuming the content doesn't change often.

[1] e.g. https://bugzilla.mozilla.org/attachment.cgi?bugid=1264182&action=enter
Here is a poc of what it would look like: http://sylvestre.ledru.info/bordel/bz/foo.html
Keywords: ux-efficiency
Component: User Interface → Extensions: FlagTypeComment
Another screenshot of the form filled with a request in Bug 1492567 Comment 4:

https://screenshots.firefox.com/tNzGtdwY0bCe6i9e/bmo-web.vm

Yes/No/Dunno is a radio button UI as proposed in Bug 1489808, which is better than a dropdown :)
Merged to master.
Status: ASSIGNED → RESOLVED
Last Resolved: 6 months ago
Resolution: --- → FIXED
Depends on: 1496233
You need to log in before you can comment on or make changes to this bug.