Fix edit in pipeline editor button not showing on ci file on file navigation
What does this MR do and why?
Fix Edit in pipeline editor button not showing on ci file on file navigation and only showing after full page reload...
Additionally once Edit in pipeline editor button is shown on ci file, it keeps showing up on other files as well until page is refreshed.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Checkout this branch and run gdk locally
- Go to any project that has CI pipeline file
gitlab-ci.yml - Open repository file tree
Code > Repository - Click on the
gitlab-ci.ymlfile from file tree - Once it's opened, click Edit button and notice there is
Edit in pipeline editor button - Previously user needed to reload the page to see this button
- Navigate to other files by clicking on them from file tree and trying clicking Edit button
- Notice the
Edit in pipeline editor buttonis not there anymore - Previously button was still visible on non ci files until page reload
Edited by Rinku C