stable

Clone or download

Read-only

Edit remaining effort on the taskboard

Given a parent card with a remaining effort that I have permission to edit, When I click on the remaning effort badge, Then it switches to edit mode And I can enter a new value. Given I hit [enter] Then it saves the new value And if I reload the page the new value is displayed. Given I hit [escape] Then it cancel the edition. This contribution is considered to be good enough to be able to edit the remaining effort during a daily standup. On the UX side it may be lacking some visual indication on how to save/cancel the remaining effort, but it can be done later after some dogfooding. Part of story #14115: update the remaining effort of a parent card Change-Id: Ie76f59ad91dbae7ca57f6be0ccc8270d17e35cbb

Modified Files

Name
M plugins/taskboard/scripts/taskboard/po/fr_FR.po +6 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/ParentCardRemainingEffort.test.ts +74 −32 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/ParentCardRemainingEffort.vue +69 −6 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/RemainingEffort/EditRemainingEffort.test.ts +93 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/RemainingEffort/EditRemainingEffort.vue +124 −0 Go to diff View file
D plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/__snapshots__/ParentCardRemainingEffort.test.ts.snap +0 −18 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/swimlane/card/card-actions.test.ts +99 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/swimlane/card/card-actions.ts +43 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/swimlane/card/card-mutations.test.ts +84 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/swimlane/card/card-mutations.ts +65 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/swimlane/card/type.ts +25 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-actions.ts +19 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-mutations.ts +2 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/type.ts +2 −0 Go to diff View file
M plugins/taskboard/themes/includes/_cards.scss +58 −0 Go to diff View file