Skip to content

Fix work item labels widget text and dropdown size

Coung Ngo requested to merge cngo-fix-label-widget-text into master

What does this MR do and why?

Fix work item labels widget text and dropdown size (#439000 (comment 1971328973))

  • Fix text to show "group" when in group context
  • Fix "Create label" dropdown width to span width of button
  • Fix missing injections when viewing labels widget in drawer in issues list

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

work item epic page work item epic page work item epic page (color widget) issue edit page
Screenshot_2024-06-28_at_12.24.06_PM Screenshot_2024-06-28_at_6.29.44_PM Screenshot_2024-07-02_at_11.25.03_AM Screenshot_2024-06-28_at_6.30.17_PM

How to set up and validate locally

  1. In rails console
    Feature.enable(:namespace_level_work_items)
  2. Visit any work items list page for a paid subscription group such as http://127.0.0.1:3000/groups/flightjs/-/work_items
  3. Create epic and click on epic
  4. Check that the labels widget says "Create group label" instead of "Create project label"
Edited by Coung Ngo

Merge request reports