core icon indicating copy to clipboard operation
core copied to clipboard

feat(edit page v2): Allow users to move contentlet between containers #27674

Open zJaaal opened this issue 1 year ago • 3 comments

Proposed Changes

  • Make changes in react to send the contentlet contentType to the editor
  • Add button to start drag on contentlet tools
  • Refactor of how we hide the contentlet tools in order to listen to drag end event
  • Make changes in types to adapt the current drag and drop to the new move feature
  • Make changes in the onPlaceItem method to move contentlet from containers or positions
  • Create and delete drag element as a visual representation of the object to drag

Screenshots

https://github.com/dotCMS/core/assets/63567962/9178692d-8af6-4b21-9be3-540d0c14cd5c

zJaaal avatar Feb 21 '24 19:02 zJaaal

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

ghost avatar Feb 21 '24 19:02 ghost

Tests are missing but you can CR meanwhile.

zJaaal avatar Feb 21 '24 19:02 zJaaal

Leaving in draft while I address feedback.

zJaaal avatar Feb 22 '24 21:02 zJaaal