stable

Clone or download

Read-only

Drag & Drop widgets

This is part of story #10173 Have multiple dashboards How to test: - Yarn run build in /tuleap - if you want dev 'watch', yarn run watch in /tuleap AND yarn run watch in /tuleap/src/www/scripts/dashboards - Drag & Drop adding/deleting line and column will come in a following commit. Change-Id: I36f6c6664ca64f26ca8e4dad388f0109d6423d36

Modified Files

Name
M gulpfile.js +3 −2 Go to diff View file
M src/common/Dashboard/Project/ProjectDashboardController.php +1 −3 Go to diff View file
M src/common/Dashboard/Project/ProjectDashboardRouter.php +15 −2 Go to diff View file
M src/common/Dashboard/User/UserDashboardController.php +1 −3 Go to diff View file
M src/common/Dashboard/User/UserDashboardRouter.php +16 −3 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidget.php +23 −1 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetColumnPresenter.php +4 −2 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetDao.php +35 −0 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetLinePresenter.php +3 −0 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetPresenter.php +3 −1 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetPresenterBuilder.php +7 −3 Go to diff View file
A src/common/Dashboard/Widget/DashboardWidgetReorder.php +52 −0 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetRetriever.php +21 −2 Go to diff View file
A src/common/Dashboard/Widget/WidgetDashboardController.php +193 −0 Go to diff View file
M src/common/autoload.php +4 −2 Go to diff View file
M src/templates/dashboard/widgets.mustache +7 −4 Go to diff View file
M src/www/my/index.php +20 −17 Go to diff View file
M src/www/projects.php +17 −4 Go to diff View file
M src/www/scripts/dashboards/dashboard-add-widget.js +3 −2 Go to diff View file
M src/www/scripts/dashboards/dashboard-dropdowns.js +3 −2 Go to diff View file
A src/www/scripts/dashboards/dashboard-layout.js +85 −0 Go to diff View file
M src/www/scripts/dashboards/dashboard-modals.js +6 −4 Go to diff View file
A src/www/scripts/dashboards/dashboard.js +11 −0 Go to diff View file
A src/www/scripts/dashboards/package.json +19 −0 Go to diff View file
A src/www/scripts/dashboards/webpack.config.js +16 −0 Go to diff View file
A src/www/scripts/dashboards/yarn.lock +1777 −0 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_dashboard.scss +8 −0 Go to diff View file
M tools/utils/tuleap-gulp-build.js +5 −4 Go to diff View file
M yarn.lock +6 −6 Go to diff View file