Two-step merge request widget
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=17448) </details> <!--IssueSummary end--> This may not be a very common problem, but I've accidentally accepted a merge request in the past. If we had a confirmation of some sort, this could be avoided. We could have the widget change to a new state when you click `Merge` that would let you edit the commit message and show a different button to confirm the merge. Things to think about: * How would this work with slash commands? Would `/merge` bypass the second state completely? Presumably if you type that explicitly, you are definitely sure you want to merge ## Design mockup | Step | Mockup | | ------ | ------ | | Ready to merge - idle | ![image](/uploads/3b43e5096bbfed92fd99ac4b3cecf806/image.png) | | Ready to merge - confirmation step | ![image](/uploads/c5365f99c1d262689af4ea3c0a0f41dd/image.png) |
issue