stable

Clone or download

Read-only

Display remaining effort and progression

Part of: story #13865 Display effort, avatar and progress on cards How to test: - When a card has a remaining effort --> A badge containing the remaining effort is displayed below the card - When remaining_effort < initial effort --> A progress bar is visible at the bottom of the card Change-Id: I25d347a438427cd06717bc35b9495894813585a5

Modified Files

Name
A plugins/taskboard/include/Card/CardRemainingEffortRetriever.php +65 −0 Go to diff View file
M plugins/taskboard/include/REST/v1/CardRepresentation.php +24 −3 Go to diff View file
M plugins/taskboard/include/REST/v1/CardRepresentationBuilder.php +19 −6 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Card/ParentCard.test.ts +8 −4 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Card/ParentCard.vue +14 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Card/ParentCardRemainingEffort.test.ts +47 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Card/ParentCardRemainingEffort.vue +47 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Card/__snapshots__/ParentCard.test.ts.snap +5 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Card/__snapshots__/ParentCardRemainingEffort.test.ts.snap +18 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Swimlane/ParentCell.vue +6 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Swimlane/SoloCard.vue +5 −2 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Swimlane/SoloCardCell.test.ts +38 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Swimlane/SoloCardCell.vue +41 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Swimlane/__snapshots__/SoloCard.test.ts.snap +1 −1 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/progress-bars.test.ts +54 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/helpers/progress-bars.ts +39 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/type.d.ts +1 −0 Go to diff View file
M plugins/taskboard/tests/rest/TaskboardTest.php +1 −0 Go to diff View file
M plugins/taskboard/themes/includes/_cards.scss +44 −0 Go to diff View file