Work item hierarchy - Prevent dropping in orphan child when type is not allowed

What does this MR do and why?

Work item hierarchy - Prevent dropping in child when type is not allowed in an orphan child.

For example, a task cannot be a child of an epic. So if an epic has no children and the user is dragging a task, the dropzone won't appear under the epic. However, it will allow dropping an issue in the same epic.

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

Screen_Recording_2024-10-11_at_4.48.55_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #482531 (closed)

Edited by Florie Guibert

Merge request reports

Loading