stable
Clone or download
Read-only
Code to build header options was duplicated between VirtualTopMilestoneController (aka top backlog) and MilestoneController (regular milestones). In order to add more behavior later in this logic (in order to have a current context section in AD panes), this commit only refactors the duplication. This will avoid a too big review. Part of story #16206: ยซ + New ยป button, better contextualisation Change-Id: I4b1cd704be75841be72a485ba060c4adbf4d37a5
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/agiledashboard/include/AgileDashboard/Milestone/HeaderOptionsProvider.php | +55 | โ0 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboardRouterBuilder.php | +3 | โ1 | Go to diff View file |
M | plugins/agiledashboard/include/Planning/MilestoneController.class.php | +11 | โ17 | Go to diff View file |
M | plugins/agiledashboard/include/Planning/MilestoneControllerFactory.class.php | +13 | โ4 | Go to diff View file |
M | plugins/agiledashboard/include/Planning/VirtualTopMilestoneController.class.php | +11 | โ16 | Go to diff View file |
A | plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/HeaderOptionsProviderTest.php | +85 | โ0 | Go to diff View file |
M | plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneControllerTest.php | +4 | โ2 | Go to diff View file |