stable

Clone or download

Read-only

Drag&Drop add/delete line/column

This is a part of story #10173 Have multiple dashboards To test: - In local.inc add $sys_use_tlp_in_dashboards = 1; - Tuleap folder: $ yarn run core - /src/www/scripts/dashboards forlder: $ yarn run core - Drop a widget deleting a column and a line then the column and the line should be removed before refreshing the page. Change-Id: I6bf0e064c9cc6d468e23c4e9430129170b5cdc65

Modified Files

Name
A src/common/Dashboard/Widget/DashboardWidgetChecker.php +52 −0 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetDeletor.php +6 −20 Go to diff View file
A src/common/Dashboard/Widget/DashboardWidgetRemoverInList.php +40 −0 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetReorder.php +14 −22 Go to diff View file
M src/common/Dashboard/Widget/WidgetDashboardController.php +126 −14 Go to diff View file
M src/common/autoload.php +4 −2 Go to diff View file
M src/www/my/index.php +6 −2 Go to diff View file
M src/www/projects.php +6 −2 Go to diff View file
M src/www/scripts/dashboards/dashboard-layout.js +18 −4 Go to diff View file
A tests/simpletest/common/Dashboard/Widget/WidgetDeletorTest.php +83 −0 Go to diff View file
M tests/simpletest/common/Dashboard/Widget/WidgetReorderTest.php +6 −89 Go to diff View file