Skip to content

Work item - Handle designs versions

What does this MR do and why?

Adds version handling to Design widget for work items.

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

Screenshot_from_2024-05-01_09-58-32

Screenshot_from_2024-05-01_09-58-39

Screenshot_from_2024-05-01_09-58-25

How to set up and validate locally

  1. Visit an issue and upload design to it.
  2. To introduce a new version of an existing design, upload a new file with the same name.
  3. Visit the work item equivalent to that issue and verify that designs are being displayed.
  4. Switch versions using the dropdown in widget header
  • Issue example URL: http://127.0.0.1:3000/gitlab-org/gitlab-shell/-/issues/2
  • Corresponding work item URL: http://127.0.0.1:3000/gitlab-org/gitlab-shell/-/work_items/2

Related to #456075 (closed) ans #356388 (closed)

Edited by Florie Guibert

Merge request reports