stable

Clone or download

Read-only

Better contextualisation of campaign tracker in AD

Given users go to TestPlan pane on an agile dashboard, And they have capability to create New campaign (the button to do so is displayed on the right), When they open the +New dropdown, Then the campaign tracker should be automatically promoted, And when they click on this entry, Then the modal to create the campaign is displayed instead of being redirected to the tracker page. Part of story #16206: ยซ + New ยป button, better contextualisation Change-Id: I8a3eb54bde7f6f88571b5f57cde528790897b8db

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Milestone/HeaderOptionsProvider.php +13 โˆ’10 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Planning/HeaderOptionsForPlanningProvider.php +13 โˆ’46 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +4 โˆ’0 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/HeaderOptionsProviderTest.php +2 โˆ’0 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/HeaderOptionsForPlanningProviderTest.php +2 โˆ’0 Go to diff View file
M plugins/taskboard/include/taskboardPlugin.php +5 โˆ’0 Go to diff View file
M plugins/testplan/include/TestPlanController.php +9 โˆ’21 Go to diff View file
A plugins/testplan/include/TestPlanHeaderOptionsProvider.php +110 โˆ’0 Go to diff View file
M plugins/testplan/include/testplanPlugin.php +32 โˆ’20 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/ListOfCampaigns.vue +12 โˆ’0 Go to diff View file
M plugins/testplan/tests/unit/TestPlanControllerTest.php +1 โˆ’2 Go to diff View file
A plugins/testplan/tests/unit/TestPlanHeaderOptionsProviderTest.php +285 โˆ’0 Go to diff View file
M plugins/tracker/include/Tracker/NewDropdown/TrackerNewDropdownLinkPresenterBuilder.php +15 โˆ’3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/NewDropdown/TrackerNewDropdownLinkPresenterBuilderTest.php +24 โˆ’0 Go to diff View file
A src/common/layout/NewDropdown/CurrentContextSectionToHeaderOptionsInserter.php +66 โˆ’0 Go to diff View file
A tests/unit/common/layout/NewDropdown/CurrentContextSectionToHeaderOptionsInserterTest.php +67 โˆ’0 Go to diff View file