stable

Clone or download

Read-only

Esc key cancels the edition of the card

This is the same behavior than remaining effort edition: if card is in edition and I hit [Esc], then the card goes back to read mode. No there is only one listener on the document that dispatch the esc key press event to a) dragndrop b) cancel buttons. Part of story #13629: Update the title semantic of a card Change-Id: I983f402452bec118b38488fbefb667f78b8b5092

Modified Files

Name
M plugins/taskboard/scripts/taskboard/src/components/App.test.ts +32 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/App.vue +24 −12 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/BaseCard.test.ts +3 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/BaseCard.vue +5 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/EditMode/CancelSaveButtons.test.ts +18 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/EditMode/CancelSaveButtons.vue +11 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/RemainingEffort/EditRemainingEffort.test.ts +5 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/RemainingEffort/EditRemainingEffort.vue +5 −13 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/TaskBoardBody.test.ts +24 −11 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/TaskBoardBody.vue +6 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/type.ts +3 −2 Go to diff View file