Skip to content

Resolve "Replace fetching work item design with `DesignAtVersion`"

What does this MR do and why?

This MR removes the "local" design query we used as a workaround to prevent cache invalidation, and replaces it with fetching a design by its global ID and by version ID

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

No visual changes

How to set up and validate locally

  1. In rails console enable the new work item view
    Feature.enable(:work_items_view_preference)
  2. Visit any project issues pages such as http://127.0.0.1:3000/flightjs/Flight/-/issues
  3. Enable new work item experience with the switch in the top right corner
  4. Open an issue
  5. Upload a design
  6. Leave a few design comments and react with emojis
  7. Make sure there are no console errors

Related to #509095

Edited by Natalia Tepluhina

Merge request reports

Loading