Clean up code for Suggest .gitlab-ci.yml feature
The feature was introduced in gitlab-org/growth&14 (closed) and can be seen in action in the following GIF:
Feature flow
- User visits MR without pipeline
- User sees Suggest Pipeline banner
- User clicks on Suggest Pipeline banner CTA
- User is taken to File Editor and shown step-by-step walkthrough (popovers) to
- Select a template
- Commit the file
- User is taken to the newly created
.gitlab-ci.yml
file and shown a celebratory modal
This MR removes code for steps 4 and 5 above.
Why?
In !73514 (merged) the Suggest Pipeline banner was updated to take the user to the Pipeline Editor (instead of the File Editor–step 4 of Feature flow
above) where they are shown a pre-selected template for a new .gitlab-ci.yml
that they can commit.
With that update, there is no longer any code path that takes the user to see the "Suggest .gitlab-ci.yml
" feature.
As well, in !74063 (merged) a new walkthrough was added to the Pipeline Editor page as an experiment replacing steps 4.1 and 4.2 (Feature flow
above).
Removed tracked events
This cleanup will remove tracking code for events with the following labels:
- suggest_gitlab_ci_yml
- suggest_commit_first_project_gitlab_ci_yml
- suggest_gitlab_ci_yml_commit_changes
- congratulate_first_pipeline
Edited by Eugie Limpin