stable

Clone or download

Read-only

Reorder cards in column

part of: story #13626 Drag and drop cards How to test: --> You cannot drop a card outside its source cell --> You can reoder cards multiple times --> Cards keep the same order after a page reload --> Modal on error Change-Id: I315815aa13a267c9abbb22d571dbdd0e0541c072

Modified Files

Name
M plugins/taskboard/build-manifest.json +2 −2 Go to diff View file
M plugins/taskboard/scripts/package-lock.json +54 −7 Go to diff View file
M plugins/taskboard/scripts/package.json +2 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/CardXrefLabel.vue +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/ChildCard.vue +6 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/__snapshots__/CardXrefLabel.test.ts.snap +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/ColumnWithChildren.test.ts +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/ColumnWithChildren.vue +3 −14 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/TaskBoardBody.vue +111 −1 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/cards-reordering.test.ts +87 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/cards-reordering.ts +86 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/column-cards.test.ts +57 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/column-cards.ts +37 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/html-to-item.test.ts +205 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/html-to-item.ts +61 −0 Go to diff View file
R plugins/taskboard/scripts/taskboard/src/store/error/type.d.ts Go to diff View file
R plugins/taskboard/scripts/taskboard/src/store/fullscreen/type.d.ts Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-actions.test.ts +65 −4 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-actions.ts +26 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-mutations.test.ts +33 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-mutations.ts +22 −2 Go to diff View file
R plugins/taskboard/scripts/taskboard/src/store/swimlane/type.d.ts Go to diff View file
R plugins/taskboard/scripts/taskboard/src/store/user/type.d.ts Go to diff View file
R plugins/taskboard/scripts/taskboard/src/type.d.ts Go to diff View file
M plugins/taskboard/themes/_taskboard.scss +1 −0 Go to diff View file
M plugins/taskboard/themes/includes/_cards.scss +5 −0 Go to diff View file