stable

Clone or download

Read-only

User can add widget to dashboard

This is a part of story #10173 Have multiple dashboards On new dashboards (my and projects), user can add widgets. The widget is added at the top of the first column. If no column yet, then the column is automatically created. Unique widgets are not checked, it will be done in a dedicated changeset. Some widgets are broken (eg: Project contacts, Project classification, …). They will be fixed in a dedicated changeset. Change-Id: Icc91d92e055744e1664d03275aef12ab0e98d46f

Modified Files

Name
M plugins/bugzilla_reference/site-content/fr_FR/LC_MESSAGES/tuleap-bugzilla_reference.po +2 −2 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +9 −2 Go to diff View file
M site-content/tuleap-core.pot +8 −2 Go to diff View file
M src/common/Dashboard/DashboardPresenter.php +3 −1 Go to diff View file
M src/common/Dashboard/PagePresenter.php +4 −2 Go to diff View file
M src/common/Dashboard/Project/ProjectDashboardController.php +1 −0 Go to diff View file
M src/common/Dashboard/Project/ProjectDashboardPresenter.php +8 −1 Go to diff View file
M src/common/Dashboard/User/UserDashboardController.php +1 −0 Go to diff View file
M src/common/Dashboard/User/UserDashboardPresenter.php +8 −1 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetDao.php +100 −0 Go to diff View file
A src/common/Dashboard/Widget/WidgetCreator.php +47 −0 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/widget/Widget.class.php +5 −0 Go to diff View file
M src/common/widget/WidgetLayoutManager.class.php +13 −0 Go to diff View file
M src/templates/dashboard/dashboard-tabs.mustache +6 −0 Go to diff View file
A src/www/scripts/dashboards/dashboard-add-widget.js +32 −0 Go to diff View file
M src/www/widgets/updatelayout.php +109 −52 Go to diff View file
M src/www/widgets/widgets.php +18 −2 Go to diff View file