Truncate long custom statuses in issue lists and wrap issue list item

What does this MR do and why?

Truncate long custom statuses in issue lists and wrap issue list item

Prevent very long custom statuses from having a negative impact on layout, while allowing them to show when there is room.

References

Screenshots or screen recordings

Scenario Before After
Tooltip on status when truncated (relevant to all below scenarios) Screenshot_2025-06-24_at_10.47.01 Screenshot_2025-06-24_at_10.46.30
child item (no change) gdk.test_3000_groups_flightjs_-epics_6__1 gdk.test_3000_groups_flightjs_-_epics_6
Board (no change) gdk.test_3000_flightjs_Flight_-boards_1__4 gdk.test_3000_flightjs_Flight_-boards_1__1
work item status widget (no change) gdk.test_3000_flightjs_Flight_-boards_1__3 gdk.test_3000_flightjs_Flight_-boards_1__2
Issue list xs (<576px) gdk.test_3000_flightjs_Flight_-issues__5 gdk.test_3000_flightjs_Flight_-issues__4
Issue list sm (>=576px) gdk.test_3000_flightjs_Flight_-issues__6 gdk.test_3000_flightjs_Flight_-issues__3
Issue list md (>=768px) gdk.test_3000_flightjs_Flight_-issues__7 gdk.test_3000_flightjs_Flight_-issues__2
Issue list lg (>=992px) gdk.test_3000_flightjs_Flight_-issues__8 gdk.test_3000_flightjs_Flight_-issues__1
Issue list xl (>=1200px) gdk.test_3000_flightjs_Flight_-issues__9 gdk.test_3000_flightjs_Flight_-_issues

How to set up and validate locally

  1. Check out this branch
  2. Follow this snippet to create custom statuses
  3. Apply a long custom status to a work item and observe it in the project/group issue list, the status widget on the work item itself, a card on a board, and as a child item on an epic (or if the work item is a task, as a child item on another work item)

Note: the work_items_alpha FF must be turned off to properly access the custom status functionality on project issue lists.

MR acceptance checklist

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

Related to #547694 (closed)

Merge request reports

Loading