Skip to content

Update labelling of empty MR approval rules

What does this MR do and why?

This MR solves the first point of #470701:

Update the labelling of "All eligible users" as "Approvers" and make the rule name "Minimum required approvals"

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Settings / Merge requests / MR approval rules

Viewport size Before After
xs (<576px) Screenshot_2024-08-13_at_17.50.21 Screenshot_2024-08-13_at_17.42.55
lg (>=992px) Screenshot_2024-08-13_at_17.48.10 Screenshot_2024-08-13_at_17.44.02

Settings / Repository / Branch rules / Details

There should be no changes and no regression for this view.

Viewport size Before After
xs (<576px) Screenshot_2024-08-13_at_17.50.41 Screenshot_2024-08-13_at_17.43.32
lg (>=992px) Screenshot_2024-08-13_at_17.48.39 Screenshot_2024-08-13_at_17.44.18

Project / Merge requests / Merge request edit

Viewport size Before After
xs (<576px) Screenshot_2024-08-13_at_17.50.32 Screenshot_2024-08-13_at_17.43.13
lg (>=992px) Screenshot_2024-08-13_at_17.48.52 Screenshot_2024-08-13_at_17.44.11

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. In rails console enable the experiment fully

    Feature.enable(:edit_branch_rules)
  2. Go to Project / Settings / Repository / Branch rules and click View details for a rule

  3. Scroll down to Merge request approvals section. Make sure there's no regression.

  4. Go to Project / Settings / Merge requests and scroll down to Merge request approvals section. Make sure the first default rule has Rule and Approvers columns filled.

  5. Go to Project / Merge requests / Merge request and edit any MR. Scroll down to Approval rules section. Make sure the first default rule has Rule and Approvers columns filled.

Related to #470701

Edited by Paulina Sedlak-Jakubowska

Merge request reports

Loading