Skip to content

Refactor labels_select_root for embedded and standalone dropdowns

What does this MR do?

In !67966 (merged), we removed the part of labels widget that is responsible for handling embedded and standalone dropdowns. In this MR, we add this part back with proper "click outside" handling.

To test the changes locally, you will need a feature flag enabled:

Feature.enable(:labels_widget)

Screenshots or Screencasts (strongly suggested)

No visual changes

How to setup and validate locally (strongly suggested)

  1. Enable the Labels widget FF
    Feature.enable(:labels_widget)
  2. Open Group -> Epics list
  3. Click on `New Epic button
  4. Open labels dropdown and click on few labels.
  5. Try to switch to "Create label" view and back
  6. Make sure labels are applied when epic is created

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #339226 (closed)

Edited by Natalia Tepluhina

Merge request reports

Loading