Skip to content

Add mirror branches filter

What does this MR do and why?

Frontend part of #1893 (closed)

Screenshots or screen recordings

change mirror branch setting to 3 radio buttons:

image

show mirror branch setting badges in the table:

image

How to set up and validate locally

  1. In EE edition, open rails console and enable the feature
    Feature.enable(:mirror_only_branches_match_regex)
  2. Visit project mirror setting page http://127.0.0.1:3000/root/vcbgfjghkk/-/settings/repository#js-push-remote-settings -->

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

/cc @daveliu

Edited by Kun Qian

Merge request reports