stable

Clone or download

Read-only

request #13793: Add kanban entry in user history

Every time I visit a kanban, the user history should be updated. When user clear the history, or when the kanban is deleted, the corresponding entries are removed from the table. Note: only regular view updates the history. If I visit a dashboard with a kanban widget, then the history is not updated. Change-Id: I1e0722e774f2b14126f6092e91d79145e6b3eb88

Modified Files

Name
M plugins/agiledashboard/db/install.sql +9 −0 Go to diff View file
A plugins/agiledashboard/db/mysql/updates/2019/201908241521_add_kanban_recently_visited_table.php +47 −0 Go to diff View file
M plugins/agiledashboard/db/uninstall.sql +1 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Kanban/RecentlyVisited/RecentlyVisitedKanbanDao.php +82 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/Kanban/RecentlyVisited/VisitRetriever.php +99 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Kanban/ShowKanbanController.php +11 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +4 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouter.class.php +3 −1 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +28 −0 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Kanban/RecentlyVisited/VisitRetrieverTest.php +207 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/RecentlyVisited/VisitRetriever.php +1 −0 Go to diff View file
M src/common/User/History/HistoryEntry.php +17 −6 Go to diff View file
M src/common/User/REST/v1/UserHistoryEntryRepresentation.php +14 −2 Go to diff View file
M src/templates/common/navbar-content-history.mustache +8 −3 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_navbar-dropdown-history.scss +12 −0 Go to diff View file
M src/www/themes/FlamingParrot/css/utils/_navbar-dropdown-history.scss +70 −0 Go to diff View file
M tests/phpunit/common/User/History/HistoryRetrieverTest.php +1 −0 Go to diff View file