Change the hyperlink for CI/CD settings in the page Run pipeline
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.
What does this MR do and why?
The CI/CD Settings page is only accessible to maintainer plus roles. But the link shows up for developers as well and returns a 404. We do not want to present links that cannot be accessed by design. Therefore, for <maintainer roles the link is not shown anymore.
To improve the user experience, a Learn more
link to the docs link for CI/CD variables was added.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After | Role |
---|---|---|
<maintainer | ||
maintainer plus |
I did not make a UI change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Visit any project page.
- On the left sidebar go to
Build > Pipelines
. - Click on the blue
New pipeline
button on the top right. - Click on the
CI/CD settings
link.
You can reach the Pipelines page by visiting a project and appending /pipelines/new
to the URL. On the GDK, you can just visit the page http://127.0.0.1:3000/flightjs/Flight/-/pipelines/new
.
There are two cases depending on the role of the user you use:
- <maintainer: The link navigates to the page https://docs.gitlab.com/ee/ci/variables/#define-a-cicd-variable-in-the-ui.
- maintainer plus: The link navigates to the CI/CD settings page.
A <maintainer user in the FlightJs project is Eleonore Beer / mirian. By using the Impersonate
button you do not have to create a new user and so on.
Related to #476540