Skip to content

Show protected branch in branch selector ( #435798)

Abh80 requested to merge gitlab-community/gitlab:abh80/patch-1 into master

What does this MR do and why?

This MR achieves the UX goal to let user know which branch is protected or not when selecting branches for actions like Pipelines.

It displays an additional protected badge beside the branch.

Relates to #435798 (closed)

Screenshots or screen recordings

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

Before After
image image

How to set up and validate locally

  1. After checking out the branch, Visit http://127.0.0.1:3000/flightjs/Flight/-/pipelines/new
  2. Click on branch selector under Run Pipeline heading.

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

Merge request reports