stable

Clone or download

Read-only

Add a layout button on lines created by drag and drop

This is a part of story #10173 Have multiple dashboards How to test: - run 'npm run build' in the dashboards folder - run 'npm run sass' in tuleap root - When you refresh an existing dashboard, you should see a layout dropdown for each line - When you drop a widget to a new line (creating the line), there should be a layout dropdown (but not visible). When you drop a second widget, the dropdown should be visible and using it should change the layout. Change-Id: I89ce60623d0104d2b3c116f9146be2fc8f6a5249

Modified Files

Name
M src/common/Dashboard/DashboardPresenter.php +8 −0 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetLinePresenter.php +0 −8 Go to diff View file
M src/templates/dashboard/edit-layout-dropdown.mustache +1 −1 Go to diff View file
M src/templates/dashboard/widgets.mustache +4 −4 Go to diff View file
M src/www/scripts/dashboards/dashboard-drag-drop.js +11 −9 Go to diff View file
M src/www/scripts/dashboards/dashboard-dropdowns.js +51 −31 Go to diff View file
M src/www/scripts/dashboards/dashboard-layout.js +6 −13 Go to diff View file
D src/www/scripts/dashboards/dom-tree-walker.js +0 −42 Go to diff View file
M src/www/scripts/dashboards/package.json +2 −1 Go to diff View file
M src/www/scripts/dashboards/yarn.lock +22 −0 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_dashboard.scss +4 −0 Go to diff View file