Skip to content

DRY default types and Type token options across lists

Coung Ngo requested to merge cngo-dry-types-tokens into master

What does this MR do and why?

This MR DRYs default types and Type token options across issues lists, work item lists, and dashboard lists, so we share logic.

The work items list also incorporates work item epics, a new type of work item that we are showing on this list only for now.

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

FOSS EE
Issues list Screen_Recording_2024-08-01_at_11.23.22_AM Screen_Recording_2024-08-01_at_11.19.41_AM
Issues dashboard list Screen_Recording_2024-08-01_at_11.27.44_AM Screen_Recording_2024-08-01_at_11.22.02_AM
Work items list Screen_Recording_2024-08-02_at_10.57.48_AM Screen_Recording_2024-08-02_at_10.56.27_AM

How to set up and validate locally

  1. Check the issues list http://127.0.0.1:3000/flightjs/flight/-/issues/
  2. Check the work items list http://127.0.0.1:3000/groups/flightjs/-/work_items (behind feature flags work_item_epics, work_item_epics_rollout, namespace_level_work_items)
  3. Check the issues dashboard list http://127.0.0.1:3000/dashboard/issues
Edited by Coung Ngo

Merge request reports

Loading