Add an indicator explaining why you are not eligible to approve an MR
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Release notes
Problem to solve
It can be confusing at times trying to understand why you are not eligible to approve an MR. What I've encountered a few times and finally realize is that a project may be configured to disallow approval by an author or committer, which is generally a good thing. But especially when testing you may not realize, regardless of what rules are set, why you specifically are not eligible to approve.
State of an MR I am eligible to approve | State of an MR I am NOT eligible to approve |
---|---|
![]() |
Intended users
User experience goal
Proposals
- Add an indicator near the MR approval widget, such as a line of text in red stating:
You are not eligible to approve this MR
. - Add a dynamic element to learn more about why you aren't eligible, for example:
You are not eligible to approve this MR as you contributed a commit to the MR.
Further details
Permissions and Security
Documentation
Availability & Testing
Available Tier
Feature Usage Metrics
What does success look like, and how can we measure that?
What is the type of buyer?
Is this a cross-stage feature?
What is the competitive advantage or differentiation for this feature?
Links / references
Edited by 🤖 GitLab Bot 🤖