Skip to content

Add work item view setting

Donald Cook requested to merge dc/work-item-view-ui into master

What does this MR do and why?

This MR uses the user preference created in !163974 (merged) to determine whether to show the legacy issue view or the work item view. Details within #461855.

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After (with setting off) After (with setting on)
CleanShot_2024-09-06_at_11.25.52 CleanShot_2024-09-06_at_11.02.20 CleanShot_2024-09-06_at_11.02.47

How to set up and validate locally

  1. In rails console enable the feature flag for your user
    Feature.enable(:work_items_view_preference, User.first)
  2. Visit any existing issue such as http://127.0.0.1:3000/gitlab-org/gitlab-test/-/issues/8
  3. Note the toggle on the top right. This setting should persist. -->
Edited by Donald Cook

Merge request reports

Loading