Skip to content

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
image image Screenshot_2025-10-30_at_3.17.42_PM

Validation steps

/cc @leetickett-gitlab

Closes #264 (closed)

Edited by Rodrigo Farinango

Merge request reports

Loading