stable

Clone or download

Read-only

Switch to edit mode

When I click on a card, it switches to edition mode: * save/cancel buttons appear. * Pencil icon disappear. * It does not change the status of the remaining effort. If the remaining effort was already in edition mode, then only one pair of save/cancel buttons is displayed. When I hit cancel button, then the card is not anymore in edition mode. When I hit save button, then the card is not anymore in edition mode, real action will be done later. When the card is in edition mode, it is still draggable, but we will remove that in a dedicated changeset. When the card is dragged, the pencil icon is not displayed. Part of story #13629: Update the title semantic of a card Change-Id: I2f87e3d6efbcffe2de7af609d0b220712defbe3b

Modified Files

Name
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/BaseCard.test.ts +112 −111 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/BaseCard.vue +42 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/ChildCard.test.ts +33 −53 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/ChildCard.vue +10 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/EditMode/CancelSaveButtons.test.ts +23 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/EditMode/CancelSaveButtons.vue +4 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/drag-drop.test.ts +9 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/drag-drop.ts +3 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/card/card-mutations.test.ts +26 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/card/card-mutations.ts +21 −10 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-actions.test.ts +9 −9 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-actions.ts +3 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-getters.test.ts +38 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-getters.ts +5 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/type.ts +1 −0 Go to diff View file
M plugins/taskboard/themes/includes/_card-edit.scss +13 −1 Go to diff View file