Replace gl-dropdown component with a gl-button
What does this MR do and why?
This implements #413453 (closed) and replaces GlDropdown
component with GlButton
. This decision was made as the first step towards moving from GlDropdown
. The original implementation only used GlDropdown as a button to trigger showing of the GlPopover
component with tag editor inside.
GlDisclosureDropdown
right now can't handle a content like that, so we are replacing the dropdown component with a properly styled button.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Open any project
- navigate to
Deploy -> Releases
- Click "Create new release" button
- Interact with tag component
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.
Edited by Andrei Zubov