Skip to content

Make drag-drop detection not reliant on class name for resolving properties

This makes it so that the class names matter less. Now if you omit .item from the parent of a drag handle with an item id, the drag drop will continue to work. You can also use ".item" as the drag handle inside a parent with the actual data-item-id and that'll also work.

That said, the rest of the sheet still relies on .item for resolving item ids. This just allows us to make a less-hacky version of !8145 (closed) later on if we want.

PS: Do you have a better label in mind than refactor for this? Its not really housekeeping.

Merge request reports