Skip to content
Snippets Groups Projects
Commit c9e59ca5 authored by Benni Mack's avatar Benni Mack Committed by Andreas Fernandez
Browse files

[TASK] Clean up various TypeScript code for SVG tree

This change reduces some redundancy in implementations
for drag+drop for pagetree + folder tree,
also adds some comments and adds
some helper methods to make the code
a tiny bit more understandable.

In addition, to reduce our dependencies to
d3-drag, the DragDropHandlers now receive
the node and the original MouseEvent,
as there is nothing else that the DragDrop
handlers need for our solutions.

Resolves: #99778
Releases: main
Change-Id: Ia45a3ac5256d22ab38cf8c5d70fc4b939a53085a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77654


Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 8ae02fbd
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment