stable

Clone or download

Read-only

Update card information to know if I can update the remaining effort field

No visible change. REST representation is updated, we can know for each card if the current user can update the remaining effort field. Part of story #14115: update the remaining effort of a parent card Change-Id: I6d6c1f49f45b6c4a3fd5120c36f36e10669918fc

Modified Files

Name
M plugins/taskboard/include/REST/v1/CardRepresentation.php +3 −3 Go to diff View file
M plugins/taskboard/include/REST/v1/CardRepresentationBuilder.php +12 −10 Go to diff View file
A plugins/taskboard/include/REST/v1/RemainingEffortRepresentation.php +42 −0 Go to diff View file
A plugins/taskboard/include/REST/v1/RemainingEffortRepresentationBuilder.php +79 −0 Go to diff View file
A plugins/taskboard/phpunit/REST/v1/RemainingEffortRepresentationBuilderTest.php +168 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/ParentCard.test.ts +5 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/ParentCardRemainingEffort.test.ts +17 −4 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/ParentCardRemainingEffort.vue +2 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/progress-bars.test.ts +13 −8 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/progress-bars.ts +11 −4 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/type.ts +6 −1 Go to diff View file
M plugins/taskboard/tests/rest/TaskboardTest.php +10 −0 Go to diff View file