stable

Clone or download

Read-only

Improve drag and drop performances

part of: story #13626 Drag and drop cards This patch improves performances of the dn'd on taskboards having a shitload of cells. To do so, we now avoid to rely on reactive getters in cells: - A class is now directly toggled on cells rejecting the drop -- When the column does not have any mapping for the tracker of the card -- When the user does not have the right to update the mapped field Change-Id: I1d27c432463b18dc72682bb313944a6379d2e5c9

Modified Files

Name
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Cell/CellDisallowsDropOverlay.test.ts +0 −10 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Cell/CellDisallowsDropOverlay.vue +1 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Cell/DropContainerCell.test.ts +2 −21 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Cell/DropContainerCell.vue +4 −23 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/SoloSwimlane.test.ts +1 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/TaskBoard.vue +2 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/drag-drop.test.ts +27 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/drag-drop.ts +18 −10 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/html-to-item.test.ts +10 −10 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/html-to-item.ts +2 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/column/column-getters.test.ts +34 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/column/column-getters.ts +12 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/drag-drop-actions.test.ts +20 −20 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/drag-drop-actions.ts +5 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-getters.test.ts +1 −166 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-getters.ts +0 −40 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-mutations.ts +21 −14 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/type.ts +1 −7 Go to diff View file
M plugins/taskboard/themes/includes/_body.scss +10 −0 Go to diff View file
M plugins/taskboard/themes/includes/_card-read.scss +1 −1 Go to diff View file