Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
web kanban sequence drag drop vas #28581
aab-odoo left a comment
The current solution is quite good. However, i have two requests:
For now, some logic that should be done in the controller is done in editable_list_renderer (see _resequence). Renderers (kanban and list) should simply trigger up an event (e.g. resequence_records) with the local_id of the parent datapoint (of type list), the local_id of the moved record, and the index where it has been dropped. Then the controller (BasicController), should intercept this event and handle it correctly (by implementing most of the logic that is currently in editable_list_renderer.js).
Could you try to do that? Don't hesitate if you have any question or remark. Thanks!