Cleanup: what to do with the legacy onClick logic? #3466
Description
> > question is, what to do with the legacy onClick logic?
onClick
neos-ui/packages/neos-ui/src/Containers/LeftSideBar/NodeTree/Node/index.js
Lines 363 to 382 in 4497f94
onNodeClick
neos-ui/packages/neos-ui/src/Containers/LeftSideBar/NodeTree/index.js
Lines 59 to 79 in 4497f94
This logic is still used on a higher layer for the multi operations on nodes. Have tested the feature and made the tests work again.
This legacy second way now introduces a lot of complexity — and we must clean it up please 😅 (or share the logic, comment it and explain how things work and why this would be necessary) otherwise it’s really hard for future people to make sense of the code
This pr is only okay as intermediate step …
Originally posted by @mhsdesign in #3440 (comment)