Skip to content

Use presenter for labels in UI

Jan Provaznik requested to merge jprovazn-label-presenter-ee into master

What does this MR do?

Adds a presenter for labels and moves basic logic from views/helpers into this presenter. THe major motivation for this is the need to check scoped_labels feature availability - it makes sense to check this feature in the context of the project/group of the issuable this label is associated with.

Does this MR meet the acceptance criteria?


Performance and testing


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 Coung Ngo

Merge request reports