stable
Clone or download
Read-only
Part of story #35104 Milestones below Backlog Only the last 5 current milestones are provided to sidebar Implementation note: We choose to use first `Planning_MilestoneFactory::getPaginatedTopMilestone` as it provides top milestones as we want. But as we also want to get sub-miletstones, in the future we will need to replace this function by a query directly to database (sql) *Testing:* Create several milestones, some in far in the past, some far in the future, some in current time. Only currents one should be displayed with a limit of 5 Change-Id: I00605426c2f1884a7f89f6f18e15a0839f278863
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/agiledashboard/include/AgileDashboard/Milestone/AgileDashboardPromotedMilestonesRetriever.php | +86 | −0 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboardService.php | +12 | −0 | Go to diff View file |
A | plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/AgileDashboardPromotedMilestonesRetrieverTest.php | +135 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Builders/ChangesetValueTextTestBuilder.php | +62 | −0 | Go to diff View file |