Skip to content

Fix scoped labels bug on group/project issues list

Coung Ngo requested to merge cngo-fix-scoped-labels-list-bug into master

What does this MR do and why?

This MR fixes a scoped labels bug on group/project issues list.

When FOSS, the labels on the issues list are incorrectly rendered as scoped labels. This commit fixes this bug so that the labels are only rendered as scoped if the licensed feature scoped_labels is available.

Changelog: fixed

Screenshots or screen recordings

FOSS before — incorrectly rendering as scoped label FOSS after — correctly showing as plain label
Screenshot_2022-06-16_at_5.33.13_pm Screenshot_2022-06-16_at_5.32.51_pm

How to set up and validate locally

  1. Start up GDK in FOSS mode
  2. Visit any group or project issues list page such as http://127.0.0.1:3000/h5bp/html5-boilerplate/-/issues
  3. Confirm scoped labels are rendered as plain labels

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Coung Ngo

Merge request reports