Allow choosing the message and author for a squashed commit
The scope for https://gitlab.com/gitlab-org/gitlab-ee/issues/150 didn't cover this, so at the moment a squashed commit takes its message from the title of the merge request.
However, it would be nice to allow the user to pick the message for the squashed commit.
For the two merge commit merge methods, we would then have two textboxes (one for the squash commit message, and one for the merge commit message), which might be confusing.
For the fast-forward merge method, there is no merge commit, so this seems like an easier win.
It would also be good to pick the author, where the MR author isn't sufficient: https://gitlab.com/gitlab-org/gitlab-ee/issues/1795
Design
Edit the squash commit in MR widget
(New MR widget design from https://gitlab.com/gitlab-org/gitlab-ce/issues/25424#note_23180548)
01 - Squash commit is checked, and then Squash commit message button appear. |
---|
02 - Click Squash commit message button. Merge request title and author are the default. |
---|
03 - Choose the message from Merge request title , Commits , or you can edit it. |
---|
04 - Choose the message from commits. |
---|
04 - Choose Edit message . Users can insert all commit messages to the textbox. |
---|