stable

Clone or download

Read-only

Display A.D information in user history

Part of request #13790: History should display more relevant quick links for artifact entry Currently the navbar user history list artifacts (listed by visited date desc). Some additional links are displayed for each artifact: * Link to the tracker * Link to the project However we should focus on the main item (the artifact) for those extra links. This means that: * Tracker link should be removed (we still know the tracker through the xref) * Project is not anymore a link Instead we can display contextual icons (if any), for example in the situation where artifact is an A.D milestone: * Link to the overview * Link to the planning * Link to the cardwall * Link to the test campaign Furthermore each time I visit those links, then the history entry should bubble up. For example if I visit the cardwall or release overview during sprint planning, then the user history is updated accordingly, providing a more accurate history. Change-Id: I519a0d8f94accd862e498d6db2b20093cd559078

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AgileDashboardLegacyController.php +10 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Pane/PaneInfo.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +20 −50 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneController.class.php +19 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneControllerFactory.class.php +10 −2 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +122 −2 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/Planning/MilestoneControllerTest.php +9 −1 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/RecentlyVisited/HistoryQuickLinkCollection.php +60 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/RecentlyVisited/VisitRetriever.php +8 −12 Go to diff View file
M src/common/User/History/HistoryQuickLink.php +13 −3 Go to diff View file
M src/common/User/REST/v1/UserHistoryQuickLinkRepresentation.php +7 −2 Go to diff View file
M src/templates/common/navbar-content-history.mustache +26 −21 Go to diff View file
M src/www/scripts/navbar-history/history-items-builder.js +1 −0 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_navbar-dropdown-history.scss +29 −60 Go to diff View file
M src/www/themes/FlamingParrot/css/utils/_navbar-dropdown-history.scss +29 −124 Go to diff View file