stable
Clone or download
Read-only
Currently, only project administrators can minimize/maximize (aka collapse/expand) a widget. When one is collapsed, non project members cannot access to the information in the widget. The proposal is to move the minimized status at the user level instead of project: * By default no widget is minimized * Every registered users can minimize a widget * Anonymous users cannot minimize a widget * The minimized status is stored in user preferences No functional changes on user dashboard. Closes request #31135: Every users should be able to minimize a widget Change-Id: Iccd41d00d8d00bfb746a418e87f1cd5245b2920c
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +0 | −6 | Go to diff View file |
M | site-content/pt_BR/LC_MESSAGES/tuleap-core.po | +0 | −6 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectDashboardController.php | +5 | −25 | Go to diff View file |
D | src/common/Dashboard/Project/WidgetMinimizor.php | +0 | −57 | Go to diff View file |
M | src/common/Dashboard/User/UserDashboardController.php | +5 | −23 | Go to diff View file |
M | src/common/Dashboard/Widget/DashboardWidget.php | +9 | −10 | Go to diff View file |
M | src/common/Dashboard/Widget/DashboardWidgetDao.php | +6 | −37 | Go to diff View file |
M | src/common/Dashboard/Widget/DashboardWidgetPresenter.php | +5 | −1 | Go to diff View file |
M | src/common/Dashboard/Widget/DashboardWidgetPresenterBuilder.php | +8 | −4 | Go to diff View file |
M | src/common/Dashboard/Widget/DashboardWidgetRetriever.php | +0 | −1 | Go to diff View file |
R | src/common/Dashboard/User/WidgetMinimizor.php | Go to diff View file | ||
M | src/common/Project/Home.php | +2 | −2 | Go to diff View file |
M | src/db/mysql/database_initvalues.sql | +5 | −5 | Go to diff View file |
M | src/db/mysql/database_structure.sql | +2 | −2 | Go to diff View file |
A | src/db/mysql/updates/2023/202303131647_index_preference_name.php | +39 | −0 | Go to diff View file |
M | src/templates/dashboard/widgets.mustache | +2 | −2 | Go to diff View file |
M | src/www/my/index.php | +2 | −2 | Go to diff View file |
M | tests/unit/common/Dashboard/Project/DashboardXMLExporterTest.php | +4 | −4 | Go to diff View file |
M | tests/unit/common/Dashboard/Widget/WidgetRetrieverTest.php | +5 | −5 | Go to diff View file |