Refactor template selector jQuery dropdown to GitLab UI
requested to merge gitlab-community/gitlab:284734-migrate-jquery-dropdown-blob-template-selector into master
What does this MR do and why?
Derived off draft MR: !96337
Migrate deprecatedJQueryDropdown template_selector.js to Gitlab UI / Vue
Changelog: changed
Before | After |
---|---|
How to set up and validate locally
To test for the dropdown
- Create or edit a new blob and set the filename any of the following:
- License
- Dockerfile
- .gitignore
- .gitlab-ci-yml
- Doing so should display a template selector beside the filename input.
To test for the popover
- On a repository/project with no existing .gitlab-ci-yml file, open this slug
/-/new/main?commit_message=Add+LICENSE&file_name=.gitlab-ci.yml&suggest_gitlab_ci_yml=true&mr_path=mr_path
- A popover should show up beside the dropdown.
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 #284734 (closed)
Edited by Shane Maglangit