stable

Clone or download

Read-only

Progress on backlog item

Part of story #11097 See a visual progress of the remaining effort How to test: Given you have a numeric field named "remaining_effort" on your user stories / epics, when you browse the planning view, then you should see a "progress bar" indicating the ratio between remaining effort and initial effort. For example: - initial effort = 3, - remaining effort = 0.25 - the progress bar should be almost full. When you update an artifact's remaining effort, then the progress bar should update. The progress bar should show up on backlog items both in Top backlog and in Milestones Change-Id: I5535415b2fe641ae49e9167352a59d358cfc847c

Modified Files

Name
A plugins/agiledashboard/include/AgileDashboard/BacklogItem/RemainingEffortValueRetriever.php +57 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/BacklogItemPresenter.class.php +12 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/BacklogItem.class.php +15 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/BacklogItemCollectionFactory.class.php +37 −13 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/IBacklogItem.class.php +8 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemRepresentation.php +15 −11 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemRepresentationFactory.class.php +17 −10 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemResource.php +37 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +29 −14 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectBacklogResource.class.php +5 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v2/ProjectBacklogResource.class.php +5 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +19 −6 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +7 −2 Go to diff View file
M plugins/agiledashboard/include/autoload.php +3 −2 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/BacklogItem/RemainingEffortValueRetrieverTest.php +125 −0 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/Widget/WidgetKanbanXMLImporterTest.php +1 −1 Go to diff View file
R plugins/agiledashboard/phpunit/boostrap.php Go to diff View file
M plugins/agiledashboard/tests/include/AgileDashboard/Milestone/Backlog/AgileDashboard_Milestone_Backlog_BacklogItemCollectionFactoryTest.php +15 −10 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app.js +2 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app.spec.js +2 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-collection/backlog-item-collection-service.js +10 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-collection/backlog-item-collection-service.spec.js +3 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details.tpl.html +5 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/item-progress/item-progress-component.js +11 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/item-progress/item-progress-controller.js +45 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/item-progress/item-progress-controller.spec.js +113 −0 Go to diff View file
M plugins/agiledashboard/www/themes/BurningParrot/css/scrum/planning/_backlog-item.scss +1 −0 Go to diff View file
A plugins/agiledashboard/www/themes/BurningParrot/css/scrum/planning/_item-progress.scss +35 −0 Go to diff View file
M plugins/cardwall/include/Pane.class.php +5 −1 Go to diff View file
M src/common/REST/v1/BacklogItemRepresentationBase.class.php +6 −3 Go to diff View file
M src/www/themes/common/tlp/src/scss/variables/_colors.scss +19 −0 Go to diff View file