Inconsistent 'expand' links on the project settings pages
Summary
The text of the headings in the Project Settings sections react differently. The headings in the Project Settings->General cause the sections to expand and contract, as if the Expand button had been clicked. The headings in the Project Settings->(CI / CD, Repository) do nothing, and instead you must click the Expand button.
For me, the 'General' case is much more useful - it's sped up configuring many repositories because there's less movement from the Settings->General to click on the heading, compared to moving from the Settings->General to clicking on the Expand button on the other side of the screen.
Steps to reproduce
In a repository you have maintainer privileges (or at whatever is enough to see the Settings):
-
Click on Settings on the sidebar.
-
Wait for the Settings->General to load (this is what happens when you just click on Settings).
-
Click on the heading 'Naming, Topics, Avatar' (not the 'Expand' button)
-
Observe that the section expands.
-
Click again, and observe that the section collapses.
-
Click on Settings->CI/CD on the sidebar.
-
Wait for the page to load.
-
Click on 'General Pipelines' (not the Expand button).
-
Observe that nothing happens.
-
Click repeatedly, just in case you imagined clicking, 'cos it's different to what happened on the General page.
-
Give up, and click the 'Expand' button.
-
Repeat for the Settings->Repository section and see the same behaviour.
What is the current bug behavior?
The General section headings expand when clicked. The CI/CD and Repository sections don't expand when the headings are clicked.
This is inconsistent.
What is the expected correct behavior?
The same behaviour on all three sections.
The preferred behaviour (for me) is to expand and contract on the headings being clicked, just like the Expand button.
Output of checks
This bug happens on GitLab.com.