In merge request form, show “Reset to project defaults” button only if approval rules are “dirty”
The following discussion from !32657 (merged) should be addressed:
-
@pedroms started a discussion: @iamphill
⚙ Behavior: Can we change the button visibility behavior so it's only visible if the approval rules are “dirty”?- 1+ project rules were modified or removed
- 1+ rules were manually added
@pedroms: The fewer buttons and options we can show, the better. If the approval rules are pristine (i.e. match the project settings) the
Reset
button is not helpful and just adds cognitive load. — !32657 (comment 355332043)
@iamphill: Yeah I think once #213796 (closed) gets solved we can sort out hiding the button.