Make the include yaml clickable in pipeline editor
Closing in favor of &7064
Release notes
Problem to solve
Users dont have a quick way to navigate to the include file from their pipeline configuration
Intended users
User experience goal
As a user i would like to navigate to the include yaml file to view and possible edit the file
Proposal
Make the include file clickable within the pipeline editor so whenever a user click on an include YAML, they will be redirected to view the file itself
A possible enhancement would be to open the file in the pipeline editor itself, but we would probably be able to do that only for files which exist in the user's repos, we should revisit this once we will refine this feature.
Further details
Capture the discussion from Slack
Is there an issue for being able to follow a link to an included template when viewing a ci-yaml file from within GitLab?
kencjohnston 12 hours ago
So for example when I see this template included and want to follow a link to see what the template is doing - https://gitlab.com/gitlab-examples/nodejs-functions/-/blob/master/.gitlab-ci.yml#L2
GitLabGitLab
.gitlab-ci.yml · master · GitLab-examples / nodejs-functions
GitLab.com
f_caplette 12 hours ago
I don't think that we have one for this, but we should! cc @Dov @Nadia Sotnikova
f_caplette 12 hours ago
We will have a section where you can open files and edit them all in one place though, so it might alleviate that (edited)
:+1:
1
kencjohnston 12 hours ago
Thanks @f_caplette - from a technical perspective GitLab “knowns” the location of each of these includes right? We’d need to know to actually include it when generating a pipeline.
f_caplette 12 hours ago
It might be possible when loading our page to get that data back from the API and somehow make clicking on these templates "open" the file in our home section
f_caplette 12 hours ago
That way it could feel like you are navigating your CI configs and it would be more intuitive than opening them manually
:heart:
1
Permissions and Security
Documentation
Availability & Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Is this a cross-stage feature?
Links / references
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.