Add work item view setting
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) |
---|---|---|
How to set up and validate locally
- In rails console enable the feature flag for your user
Feature.enable(:work_items_view_preference, User.first)
- Visit any existing issue such as
http://127.0.0.1:3000/gitlab-org/gitlab-test/-/issues/8
- Note the toggle on the top right. This setting should persist. -->
Edited by Donald Cook