Allow assigning only GitLab Duo AI as a reviewer
What does this MR do and why?
This MR updates the RequestReviewAction component to update the reviewer selection and validation logic to allow GitLab Duo AI as only reviewer:
-
GitLab Duo AI can now be selected as the only reviewer.
-
Form validation ensures that at least one reviewer is selected or at least one username is entered in the textarea.
-
Inline error message displayed when submission is attempted with no input.
-
Updated tests to reflect new component behavior, including submitting with only Duo AI or only manual usernames.
-
Display
@symbol -
Add hyperlink to GitLab profile page on username click
-
Update GitLab Duo AI checkbox label to
Request review from GitLab Duo AI
Screenshots or screen recordings
| Before | After |
|---|---|
|
|
Validation steps
Closes #264 (closed)
Edited by Rodrigo Farinango


