Skip to content

Card labels should not open sidebar

What does this MR do?

This MR prevent the sidebar opening event when a card label is clicked #208867 (closed).
My approach was to change the @mouseup board card event to @click and to add a .stop modifier to the label click event.
The problem with this MR is that the dropdown is fired after clicking on the label and I don't think it is the expected behaviour.

Captura_de_Tela_2020-08-09_às_00.05.06

/cc @sstern

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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
Edited by Carolina Simões

Merge request reports