CI/CD editor nav link should maintain current branch
requested to merge 348792-ci-cd-editor-should-render-the-gitlab-ci-for-the-branch-from-which-the-menu-is-being-accessed into master
What does this MR do and why?
Currently if you are viewing your repository and click on "CI/CD => Editor" the branch that you are currently viewing is lost. This MR adds a query param that will conserve the branch if you navigate through the editor link.
Screenshots or screen recordings
Before | After |
---|---|
Screen_Recording_2022-01-19_at_3.18.37_PM | Screen_Recording_2022-01-19_at_3.11.48_PM |
How to set up and validate locally
- Go to the repository view
- Change the current branch to anything other than the default branch
- Click on
CI/CD => editor
- Notice that the branch you selected is preeserved
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #348792 (closed)
Edited by Frédéric Caplette