Migrate new environments GlDropdown to GlTokenSelector
requested to merge 384273-migrate-gldropdown-in-app-assets-javascripts-feature_flags-components into master
What does this MR do and why?
This MR migrates the GlDropdown
in app/assets/javascripts/feature_flags/components/new_environments_dropdown.vue
to a GlTokenSelector
Additionally this MR
- Ensures an environment can only be selected once
- Adds
All Environments
text next to the token selector
Screenshots or screen recordings
Before | After |
---|---|
720-new-environemnts-dropdown-old | 720-feature-flag-form-with-token-selector |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Create a new project
-
Create 2 static environments for the project. You only need to fill in the
name
field for the environment, the url can be blank. - Navigate to the new feature flags form for the project
- Create a feature flag, making sure to use the environments 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 #384273 (closed)
Edited by Ezekiel Kigbo