stable
Clone or download
Read-only
When a user go to an artifact (or every pages) of a tracker that is promoted in sidebar, then the tracker is marked as active in the sidebar. The service tracker is not marked as active to not have two active elements at the same time without visual differences. Part of story #34002: see promoted trackers in sidebar Change-Id: I97c51917f73e8e79a3c3dcc288d76dffeb963270
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/project-sidebar-internal/src/Tools/PromotedItemPresenter.vue | +4 | −0 | Go to diff View file |
M | lib/frontend/project-sidebar-internal/src/Tools/ToolPresenter.test.ts | +68 | −0 | Go to diff View file |
M | lib/frontend/project-sidebar-internal/src/Tools/ToolPresenter.vue | +4 | −1 | Go to diff View file |
M | lib/frontend/project-sidebar-internal/src/configuration.ts | +1 | −0 | Go to diff View file |
M | lib/frontend/project-sidebar-internal/src/project-sidebar-example-config.ts | +4 | −2 | Go to diff View file |
M | plugins/tracker/include/ServiceTracker.class.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Service/SidebarPromotedTrackerRetriever.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Tracker.class.php | +8 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Service/SidebarPromotedTrackerRetrieverTest.php | +30 | −6 | Go to diff View file |
M | src/common/Layout/BaseLayout.php | +2 | −1 | Go to diff View file |
M | src/common/Layout/ProjectSidebar/ProjectSidebarConfigRepresentation.php | +2 | −1 | Go to diff View file |
M | src/common/Layout/ProjectSidebarToolsBuilder.php | +3 | −3 | Go to diff View file |
M | src/common/Layout/SidebarPromotedItemPresenter.php | +1 | −0 | Go to diff View file |
M | src/common/Layout/SidebarServicePresenter.php | +4 | −4 | Go to diff View file |
M | src/common/Project/REST/v1/ProjectResource.class.php | +2 | −1 | Go to diff View file |
M | src/common/Project/Service.class.php | +1 | −1 | Go to diff View file |
M | tests/unit/common/Layout/ProjectSidebar/ProjectSidebarConfigRepresentationTest.php | +2 | −1 | Go to diff View file |
M | tests/unit/common/Layout/ProjectSidebarToolsBuilderTest.php | +1 | −1 | Go to diff View file |