stable
Clone or download
Read-only
In order to be able to navigate easily to project dashboards, they should be added in SwitchTo modal ยป Recent items. Visits to a project dashboards are removed when the user clear its history (API REST), when the dashboard is removed, or after daily cleanup. No functional changes in project dashboards CRUD (dao had to be converted to EasyDB). Closes request #35468: Add project dashboards in recent items Change-Id: Ia92954fcb5e4c5db85ada1fabe788c55a549fdb0
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +5 | โ1 | Go to diff View file |
M | site-content/pt_BR/LC_MESSAGES/tuleap-core.po | +4 | โ0 | Go to diff View file |
A | src/common/Dashboard/Project/DeleteVisitByDashboardId.php | +26 | โ0 | Go to diff View file |
A | src/common/Dashboard/Project/DeleteVisitByUserId.php | +26 | โ0 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectDashboardController.php | +16 | โ7 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectDashboardDao.php | +30 | โ85 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectDashboardDuplicator.php | +21 | โ21 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectDashboardRetriever.php | +14 | โ0 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectDashboardSaver.php | +9 | โ13 | Go to diff View file |
A | src/common/Dashboard/Project/ProjectDashboardVisitRetriever.php | +98 | โ0 | Go to diff View file |
A | src/common/Dashboard/Project/RecentlyVisitedProjectDashboardDao.php | +78 | โ0 | Go to diff View file |
M | src/common/Project/Home.php | +6 | โ1 | Go to diff View file |
M | src/common/Project/ProjectCreator.class.php | +3 | โ1 | Go to diff View file |
M | src/common/Project/ProjectXMLImporter.class.php | +3 | โ1 | Go to diff View file |
A | src/common/User/History/GetVisitHistory.php | +26 | โ0 | Go to diff View file |
M | src/common/User/History/HistoryCleaner.php | +7 | โ9 | Go to diff View file |
M | src/common/User/History/HistoryRetriever.php | +6 | โ2 | Go to diff View file |
M | src/common/User/REST/v1/UserResource.php | +36 | โ2 | Go to diff View file |
M | src/common/system_event/include/SystemEvent_ROOT_DAILY.class.php | +2 | โ0 | Go to diff View file |
M | src/db/mysql/database_structure.sql | +10 | โ0 | Go to diff View file |
A | src/db/mysql/updates/2023/2023120611315_add_project_dashboards_recently_visited.php | +47 | โ0 | Go to diff View file |
A | tests/integration/tests/Dashboard/Project/RecentlyVisitedProjectDashboardDaoTest.php | +82 | โ0 | Go to diff View file |
A | tests/lib/Stubs/User/History/GetVisitHistoryStub.php | +54 | โ0 | Go to diff View file |
M | tests/unit/common/Dashboard/Project/ProjectDashboardDuplicatorTest.php | +3 | โ3 | Go to diff View file |
M | tests/unit/common/Dashboard/Project/ProjectDashboardSaverTest.php | +42 | โ4 | Go to diff View file |
M | tests/unit/common/Dashboard/Project/ProjectDashboardXMLImporterBase.php | +2 | โ1 | Go to diff View file |
M | tests/unit/common/Dashboard/Project/ProjectDashboardXMLImporterLinesTest.php | +17 | โ17 | Go to diff View file |
M | tests/unit/common/Dashboard/Project/ProjectDashboardXMLImporterPluginTest.php | +1 | โ1 | Go to diff View file |
M | tests/unit/common/Dashboard/Project/ProjectDashboardXMLImporterTest.php | +2 | โ2 | Go to diff View file |
M | tests/unit/common/User/History/HistoryCleanerTest.php | +13 | โ1 | Go to diff View file |
M | tests/unit/common/User/History/HistoryRetrieverTest.php | +21 | โ9 | Go to diff View file |