Skip to content

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
Screenshot_2023-09-25_at_17.24.32 Screenshot_2023-09-25_at_17.25.03

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Open any project
  2. navigate to Deploy -> Releases
  3. Click "Create new release" button
  4. 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.

Edited by Andrei Zubov

Merge request reports

Loading