Skip to content

Adds Drag and drop checklist items to Work Items

What does this MR do and why?

  • Adds the drag-and-drop checklist feature from legacy issues to the work items page
  • Adds a delay to dragging items to avoid a wrong order shuffling while one item is being dragged

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
Screen_Recording_2024-07-19_at_2.58.05_PM Screen_Recording_2024-07-19_at_12.01.55_PM

How to set up and validate locally

  1. Open/create a work item with list items (ordered or unordered)
  2. Drag items from the list to shift their order in the description
  3. Expect that the list is reordered properly
  4. Trying quickly shifting two items
  5. Expect that only the first changes position while the order can't be moved until the first ends updating

Note: It is a known bug that when reordering a numbered list the numbers shuffle. This bug is listed here.

Dragging checklist items should work for any work item types.

Related to #461844 (closed)

Edited by Fernanda Toledo

Merge request reports