You need to sign in or sign up before continuing.
Move isScopedLabel from gitlab to gitlab-ui
Scoped labels are an EE-only feature. We currently have isScopedLabel
function in gitlab to test label title (if License allows). This check can happen inside gl-label, as we already have access to label title
and just have to search for ::
. We can pass a prop that says if we are licensed or not, is-ee
or licensed-feature-scoped-labels
or something.
The following discussion from !34334 (merged) should be addressed:
-
@psimyn started a discussion: this still seems lots like behavior that should live in and be tested in labels component