stable

Clone or download

Read-only

Take current tracker report into account when widget is added

Part of story #11054 - have kanban widgets filtered by default The usual selectbox to change the filter will be hidden in a next commit How to test: - In a filtered kanban, click on the "add to dashboard" dropdown - Select a dashboard --> The kanban widget is filtered with the last selected filter --> Works for both project and personal dashboards --> Works without filter Change-Id: I07f65c39729682f5b4fdb4993dd7e196049d809d

Modified Files

Name
M plugins/agiledashboard/db/install.sql +9 −1 Go to diff View file
A plugins/agiledashboard/db/mysql/updates/2018/201805021100_add_kanban_widget_config_table.php +58 −0 Go to diff View file
M plugins/agiledashboard/db/uninstall.sql +1 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Kanban/TrackerReport/TrackerReportBuilder.php +4 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Widget/Kanban.php +21 −15 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Widget/MyKanban.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Widget/ProjectKanban.php +2 −2 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Widget/WidgetKanbanConfigDAO.php +61 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Widget/WidgetKanbanConfigRetriever.php +46 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Widget/WidgetKanbanCreator.php +23 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Widget/WidgetKanbanDeletor.php +16 −1 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +16 −12 Go to diff View file
M plugins/agiledashboard/include/autoload.php +4 −2 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/add-to-dashboard/add-to-dashboard-controller.js +9 −6 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/add-to-dashboard/add-to-dashboard.tpl.html +3 −3 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/app-main-controller.js +8 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/shared-properties/shared-properties-service.js +3 −1 Go to diff View file