stable

Clone or download

Read-only

Define by project if the burnup will be displayed in count or effort mode

This is part of story #13735 have burn-up based on item count If the feature flag (use_burnup_count_elements) is set to 1 Then a new option named charts configuration is displayed in the global agiledashboard configuration to enable the burnup count mode. If this option is activated, then all the project's burnup will be displayed in count mode. This option is also inherited at project creation (not yet in XML). Change-Id: If1201f645a4046cf83d6826dc70b602591c9228d

Modified Files

Name
M plugins/agiledashboard/db/install.sql +4 −0 Go to diff View file
A plugins/agiledashboard/db/mysql/updates/2019/201908161005_add_burnup_projects_count_mode_table.php +43 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/AdminController.class.php +19 −4 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/AdminScrumPresenter.class.php +15 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/AgileDashboardScrumConfigurationUpdater.class.php +16 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php +8 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup/CountElementsModeChecker.php +13 −10 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup/CountElementsModeUpdater.php +51 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup/ProjectsCountModeDao.php +60 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDataBuilder.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupFieldPresenter.php +1 −6 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouter.class.php +11 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +4 −1 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +6 −0 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/FormElement/BurnupDataBuilderTest.php +14 −0 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +16 −0 Go to diff View file
M plugins/agiledashboard/templates/admin-scrum.mustache +22 −4 Go to diff View file
M plugins/agiledashboard/tests/AgileDashboardRouterTest.php +4 −1 Go to diff View file
M plugins/agiledashboard/tests/include/AgileDashboard/AgileDashboardControllerTest.php +16 −4 Go to diff View file
M plugins/agiledashboard/tests/include/ControllerTest.php +7 −1 Go to diff View file
M plugins/agiledashboard/www/themes/default/css/style.scss +1 −1 Go to diff View file