An error occurred while fetching the assigned iteration of the selected issue.
Add "create this file now" button to the "there is no .gitlab-ci.yml" warning
When navigating to the CI/CD editor on a repo that hasn't set up CI/CD yet, users are presented with the following warning:
There is no .gitlab-ci.yml file in this repository, please add one and visit the Pipeline Editor again.
However, this is very silly. What it should present the user with is this:
It looks like there is no .gitlab-ci.yml file in this repository yet.
Would you like to make one and proceed to the editor?
[template picker] [Create and proceed]
Where the user can pick the template they want from a dropdown (including "empty file" as first option) and then click the button to start on their CI/CD journey.
This should just be an on-page solution, the user's intent is already crystal clear.