Skip to content

Fix description list item reorder for incidents

Coung Ngo requested to merge 367952-fix-incident-list-item-reorder into master

What does this MR do and why?

This MR fixes reordering list items in the description for incidents.

Incidents did not update when reordering list items in the description, and the drag icon on the /-/issues/incident/ route was not in the correct part of the UI.

Reordering list items in descriptions are already possible in issues and epics.

Changelog: fixed

Resolves: #367952 (closed)

Screenshots or screen recordings

Screen_Recording_2022-07-18_at_12.21.56_pm

before after
Screenshot_2022-07-18_at_12.05.35_pm Screenshot_2022-07-18_at_12.06.03_pm

How to set up and validate locally

  1. Create an incident, e.g. via http://127.0.0.1:3000/h5bp/html5-boilerplate/-/issues/new
  2. Add tasks to the incident description
  3. Reorder a task and confirm it updates and that the icon is to the left of the bullet

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #367952 (closed)

Edited by Coung Ngo

Merge request reports