Skip to content

Refactor label_item for labels widget

What does this MR do?

Clean up label_item component for labels widget. Fixes visual regressions introduced by !69263 (merged).

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

The use of GlDropdownItem introduces some visual regression, mostly increasing spacing around label options. A refactor of label_item.vue will be done in a follow-up to fix it.

Feature.enable(:labels_widget)

After enabling FF, you can test issue sidebar labels.

Screenshots or Screencasts (strongly suggested)

Before After
Screenshot_from_2021-08-31_13-57-07 Screenshot_from_2021-09-07_12-07-33

How to setup and validate locally (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #340254 (closed)

Merge request reports

Loading