stable

Clone or download

Read-only

Display fake widgets in rows/columns that are defined in db

This is a part of story #10173 Have multiple dashboards To test: - Run forgeupgrade - Add data in dashboards_layouts_lines (dashboard_type is 'user' or 'project'), dashboards_columns, and dashboards_columns_widgets - On dashboards you should see fake widgets displayed Change-Id: I73ad07a00256b7b9f01c458d268c8609d8e756f9

Modified Files

Name
M src/common/Dashboard/Dashboard.php +0 −5 Go to diff View file
M src/common/Dashboard/DashboardPresenter.php +6 −6 Go to diff View file
M src/common/Dashboard/Project/ProjectDashboardController.php +29 −6 Go to diff View file
M src/common/Dashboard/Project/ProjectDashboardPresenter.php +2 −2 Go to diff View file
M src/common/Dashboard/User/UserDashboardController.php +31 −8 Go to diff View file
M src/common/Dashboard/User/UserDashboardPresenter.php +2 −2 Go to diff View file
A src/common/Dashboard/Widget/DashboardWidget.php +62 −0 Go to diff View file
A src/common/Dashboard/Widget/DashboardWidgetColumn.php +69 −0 Go to diff View file
A src/common/Dashboard/Widget/DashboardWidgetColumnPresenter.php +31 −0 Go to diff View file
A src/common/Dashboard/Widget/DashboardWidgetDao.php +70 −0 Go to diff View file
A src/common/Dashboard/Widget/DashboardWidgetLine.php +83 −0 Go to diff View file
A src/common/Dashboard/Widget/DashboardWidgetLinePresenter.php +38 −0 Go to diff View file
A src/common/Dashboard/Widget/DashboardWidgetPresenter.php +25 −0 Go to diff View file
A src/common/Dashboard/Widget/DashboardWidgetPresenterBuilder.php +67 −0 Go to diff View file
A src/common/Dashboard/Widget/DashboardWidgetRetriever.php +90 −0 Go to diff View file
M src/common/autoload.php +11 −2 Go to diff View file
M src/db/mysql/database_structure.sql +26 −0 Go to diff View file
A src/db/mysql/updates/2017/201705161407_create_tables_dashboards_lines.php +53 −0 Go to diff View file
A src/db/mysql/updates/2017/201705161407_create_tables_dashboards_lines_columns.php +51 −0 Go to diff View file
A src/db/mysql/updates/2017/201705161407_create_tables_dashboards_lines_columns_widgets.php +51 −0 Go to diff View file
M src/templates/dashboard/my.mustache +3 −0 Go to diff View file
M src/templates/dashboard/project.mustache +3 −0 Go to diff View file
A src/templates/dashboard/widgets.mustache +21 −0 Go to diff View file
M src/www/my/index.php +8 −1 Go to diff View file
M src/www/projects.php +8 −1 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_dashboard.scss +96 −0 Go to diff View file