Prioritize reviews in the MR Overview tab
What does this MR do and why?
For #479269 (closed)
Please review the above issue for all the nuances of the changes.
Short summary:
This MR makes "Reviews" more visible on the MR Overview tab.
- If you've already started a review, the primary action when writing a comment is to add that comment to the review.
- If you haven't started a review, the comment form suggests starting one (as the secondary action).
In addition, comments added as part of a review are always threads (essentially: resolvable), which differs from non-review comments, and matches discussion replies and comments in the Changes tab.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
- | Before | After |
---|---|---|
No review started | ![]() |
![]() |
Review started | ![]() |
![]() |
Internal, no review started | ![]() |
![]() |
Internal, review started | ![]() |
![]() |
How to set up and validate locally
- Create an MR
-
👀 at the comment field on the main ("Overview") tab of the MR.
Old description before issue rework
This does what the title says, but there are some implications of that:
- There's no ability to "create a thread"
- ...which means there's no split/dropdown comment button
- The "Add comment now" button always shows, since we don't specifically check for the existence of drafts any more
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After | |
---|---|---|
No Content | ![]() |
![]() |
w/ Note | ![]() |
![]() |
No Content (internal) | ![]() |
![]() |
w/ Note (internal) | ![]() |
![]() |
Additionally, because there was a strange test failure with the "r" (reply) keyboard shortcut, here is the "r" keyboard shortcut working identically to how it works on master
.
Screencast_from_2024-10-23_14-37-08
How to set up and validate locally
- Create an MR
-
👀 at the comment field on the main ("Overview") tab of the MR.