Restructure MR merge widget
This is an actionable insight from the UX Department: MRs experience async critique research (insight).
What
In the merge section of the MR widget, the “merge commit message” field is below the “Merge” button, so one has to navigate up to submit after filling in the field. The same thing happens to the “Delete source branch” and “Squash commit” options.
Why
Form submit buttons usually come after the form fields, unless they are sticky/fixed to the screen. In this case, the user may be confused as to where they should click to proceed.
How
Move the merge options before the “Merge” button, so that it follows the logical order of filling->submitting. A design for this was first explored in #299195 (closed) and this issue aims to be the development iteration to get this in the product.
The main aspects of the proposal are:
- Re-order merge options and action —
(R6 * I2 * C1)/E1 = 12
- Move allow collaboration alert to branches widget
- New placement for merge/rebase errors
- ==TODO: solve SHA mismatch state==