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:
show mirror branch setting badges in the table:
How to set up and validate locally
- In EE edition, open rails console and enable the feature
Feature.enable(:mirror_only_branches_match_regex)
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
/cc @daveliu
Edited by Kun Qian