stable

Clone or download

Read-only

Display burnup with count elements values

This is part of story #13735 have burn-up based on item count You have to configure your Tuleap to be able to display burnup with count elements: * use_burnup_count_elements set to 1 to enable the feature * burnup_ids_count_elements is a comma separated value with the milestone ids you want to use count elements for burnup. The points representing count elements are always added into the Burnup representation. Given the burnup mode, either effort or count elements is used. Chart labels are not yet updated. This will be done in a dedicated commit. Change-Id: I72ba2b9fa89cf5379734588970a9b32497d754b2

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php +14 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup/CountElementsCacheDao.php +10 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup/CountElementsCalculator.php +2 −2 Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup/CountElementsCacheInfo.php Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup/CountElementsModeChecker.php +44 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupData.php +23 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDataBuilder.php +53 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupFieldPresenter.php +21 −1 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Artifact/BurnupCountElementsPointRepresentation.php +50 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Artifact/BurnupRepresentation.php +14 −1 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/FormElement/BurnupDataBuilderTest.php +155 −31 Go to diff View file
M plugins/agiledashboard/templates/formelement/burnup-field.mustache +1 −1 Go to diff View file
M plugins/agiledashboard/tests/rest/ArtifactsTest.php +2 −1 Go to diff View file
M plugins/agiledashboard/www/js/burnup-chart/src/burnup-chart-drawer.js +36 −29 Go to diff View file
M plugins/agiledashboard/www/js/burnup-chart/src/burnup-chart.js +5 −2 Go to diff View file
A plugins/agiledashboard/www/js/burnup-chart/src/burnup-data-transformer.js +54 −0 Go to diff View file
M plugins/agiledashboard/www/js/burnup-chart/src/chart-data-service.js +7 −5 Go to diff View file
M plugins/agiledashboard/www/themes/default/css/_burnup-chart.scss +2 −2 Go to diff View file
M plugins/tracker/www/scripts/burndown-chart/src/burndown-chart-drawer.js +1 −1 Go to diff View file
M src/www/scripts/charts-builders/chart-dates-service.js +1 −1 Go to diff View file
M src/www/scripts/charts-builders/chart-lines-service.js +4 −3 Go to diff View file