Display specific actions for reviewers on the merge request page

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

Display actions specific to reviewers on the merge request page.

If you are not assigned as a reviewer, then certain buttons do not appear such as "Start a review".

Background

Today we display all buttons for any user. It can present actions that the user could accidentally invoke and/or make the overall page look clutter because we are catering to multiple job performers with one fixed UI.

  1. We display "Start a review" when commenting whether you are a reviewer or not

CleanShot_2025-02-06_at_22.55.55

  1. We display the "Approve" button whether you are reviewer or not

CleanShot_2025-02-06_at_22.57.23

⚠️ Caution

Teams may have set up their approval process that do not depend on Reviewer assignment so we need to be mindful of that and may include considering ways to assign that person as a reviewer.

Related discussions

Edited by 🤖 GitLab Bot 🤖