Ctrl+Enter immediately adds MR comment
Summary
When writing merge request comments the new batch review feature nicely allows it to group comments.
This workflow sadly does not work with the keyboard shortcut Ctrl+Enter
. Instead of creating a new review or adding to an existing one the comments is always instantly submitted.
This is especially unexpected as the Add to review
button is marked as primary with the green background.
Steps to reproduce
- Open a merge request diff view
- Write a comment
- Press
Ctrl+Enter
Optionally write a second comment. While the labels change the behavior is the same.
What is the current bug behavior?
The comment is always instantly submitted as if the secondary Add comment now
button was pressed.
What is the expected correct behavior?
The shortcut always triggers the primary button. Either Add to review
or Start review