stable

Clone or download

Read-only

story #8658: Do not show closed milestones by default

On each planning view, only open submilestones are displayed by default. If the user wants to see closed ones then a button let him load them. /!\ There is a notable change in the semantic status: In Tuleap, when a semantic is defined and an artifact has no value for the corresponding field, then it is considered as closed. However some REST routes returned such item as open. This is not anymore the case, however it may have broken something that was relying on the wrong behavior... Change-Id: I50035c670f66d7a1d4b967fbeb455fce6d2e0761

Modified Files

Name
A plugins/agiledashboard/include/AgileDashboard/Milestone/Criterion/ISearchOnStatus.php +26 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Criterion/StatusAll.php +32 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Criterion/StatusClosed.php +32 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Milestone/Criterion/StatusOpen.php +32 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneDao.class.php +99 −6 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneRepresentationBuilder.class.php +27 −25 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/MalformedQueryParameterException.php +30 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/QueryToCriterionConverter.php +60 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +23 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectMilestonesResource.class.php +17 −3 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +41 −2 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestonePaneFactory.class.php +2 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/VirtualTopMilestonePaneFactory.class.php +2 −1 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +1 −0 Go to diff View file
M plugins/agiledashboard/include/autoload.php +8 −2 Go to diff View file
A plugins/agiledashboard/tests/include/REST/QueryToCriterionConverterTest.php +80 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/Gruntfile.js +2 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/po/fr.po +36 −14 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/po/template.pot +36 −19 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app-planning-controller.js +144 −64 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app-planning-controller.spec.js +5 −5 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-service.js +24 −30 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-service.spec.js +4 −4 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone.less +49 −0 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone.tpl.html +90 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/planning.tpl.html +41 −96 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/assets/current-milestones.png Binary file Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/src/assets/done-milestones.png Binary file Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/less/main.less +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Status.class.php +11 −10 Go to diff View file
M src/common/autoload.php +2 −2 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +12 −4 Go to diff View file
M src/common/valid/Rule.class.php +44 −44 Go to diff View file