From the UI, the actions to be used are mouse key on and down, then you build move function yourself.
A coordinate array of any leafs of potential targets which the moving leaf will be dropped must be stored when the page is loaded, so we can trace the movement of the leaf and know its destination, and then the relative handler will be called.
The DOM must maintain the DOM changes.
From server side, you must have request handler to handle the ajax request to update data on either the conversation objects, or, data store on backend,
Those are my plan to implement a general solution.
A coordinate array of any leafs of potential targets which the moving leaf will be dropped must be stored when the page is loaded, so we can trace the movement of the leaf and know its destination, and then the relative handler will be called.
The DOM must maintain the DOM changes.
From server side, you must have request handler to handle the ajax request to update data on either the conversation objects, or, data store on backend,
Those are my plan to implement a general solution.