Skip to content

Branch rules bread crumbs are broken

Problem

Clicking on

when on https://gitlab.com/jerasmus/jerasmus-test-project/-/settings/repository/branch_rules?branch=All%20protected%20branches click on Branch rules details see the result on https://gitlab.com/jerasmus/jerasmus-test-project/-/settings/repository/branch_rules
image image

Proposal

Change the breadcrumb pattern.

  • Current: group > project > Repository settings > Branch rules details
  • Update: group > project > Repository settings > Branch rules > Details
    • [Repository settings] would link to "/-/settings/repository/"
    • [Branch rules] would link to "/-/settings/repository#js-branch-rules"
    • [Details] would link to current page. "Details" is not the ideal name but at the moment we don't have an "id" for a branch rule unless we use it's name.

Reference: https://design.gitlab.com/components/breadcrumb#content

Edited by Michael Le