Skip to content

Migrate create protected branch form to GlToggle

What does this MR do and why?

This migrates the protected branch form toggles to GlToggle by leveraging the helpers that were added in !80293 (merged).

Screenshots or screen recordings

Before After
Screen_Shot_2022-02-09_at_2.33.30_PM Screen_Shot_2022-02-09_at_2.30.32_PM

How to set up and validate locally

  1. In any project, navigate to the protected branch settings at /:namespace/:project/-/settings/repository#js-protected-branches-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.

Related to #344104 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports