stable

Clone or download

Read-only

Extract a dedicated presenter & template for planning edition

Part of story #15122 [release management] management of Aggregator projects This is a refactoring to make it easier to change the presentation of the planning edition. The multi_project_backlog plugin will need to alter this presentation to disallow changing the milestone tracker. This contribution decouples planning edition from planning creation, which will make this easier. How to test: - No functional change expected in planning edition. Burnup and velocity warnings should show as before. Cardwall configuration should work as before. Change-Id: I3732015535a2dad6f29c2040f4c8e9e27f71ac2a

Modified Files

Name
R plugins/agiledashboard/include/Planning/AdditionalPlanningConfigurationWarningsRetriever.php Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Planning/Admin/PlanningEditionPresenter.php +102 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Planning/Admin/PlanningEditionPresenterBuilder.php +156 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Planning/Admin/PlanningWarningPossibleMisconfigurationPresenter.php +43 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouter.class.php +35 −27 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +12 −5 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningController.class.php +42 −28 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningFormPresenter.class.php +3 −8 Go to diff View file
D plugins/agiledashboard/include/Planning/Presenters/PlanningWarningPossibleMisconfigurationPresenter.php +0 −40 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +2 −2 Go to diff View file
A plugins/agiledashboard/templates/admin-scrum/edit-planning.mustache +65 −0 Go to diff View file
D plugins/agiledashboard/templates/edit.mustache +0 −54 Go to diff View file
A plugins/agiledashboard/tests/unit/AgileDashboard/Planning/Admin/PlanningEditionPresenterBuilderTest.php +182 −0 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/PlanningControllerTest.php +3 −1 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboardRouterTest.php +2 −1 Go to diff View file
M plugins/velocity/include/velocityPlugin.php +3 −3 Go to diff View file