stable

Clone or download

Read-only

Refactoring: use kanban representation in mustache

… so that angular don't need to make a call to load the structure (faster loading). Bonus: no moar kanban.name vs kanban.label && don't clutter BacklogColumnRepresentation with structural information. This is a primary step to be able to load/save properly collapsing preference. Implements story #7582: collapse my kanban columns Change-Id: Iaff85cfb015f6facd5230cadbb546d096f270e1b

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AgileDashboardController.class.php +1 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/KanbanPresenter.class.php +18 −19 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanArchiveInfoRepresentation.php +38 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanBacklogInfoRepresentation.php +45 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanBacklogRepresentation.php +3 −9 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanRepresentation.php +16 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanRepresentationBuilder.php +107 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +8 −42 Go to diff View file
M plugins/agiledashboard/include/autoload.php +6 −3 Go to diff View file
M plugins/agiledashboard/templates/kanban.mustache +1 −1 Go to diff View file
M plugins/agiledashboard/tests/rest/KanbanTest.php +2 −1 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/app-kanban-controller.js +21 −32 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/kanban-service.js +2 −3 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/kanban.tpl.html +1 −1 Go to diff View file