Skip to content

Migrate edit protected branch form to GlToggle

What does this MR do and why?

This migrates the protected branch edition 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.40_PM Screen_Shot_2022-02-09_at_2.30.50_PM

Toggling protected branches' status (!80549 (merged))

Screen_Recording_2022-02-10_at_11.47.42_AM

How to set up and validate locally

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

  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

Loading