stable

Clone or download

Read-only

Display list of campaigns

Go to the test plan of a milestone. If the milestone has campaigns (open or closed), they are displayed. Else the list is empty. While the list is loading, skeletons are displayed. This commit is intended to introduce vuex store and basic retrieval of campaigns. As such, and to not clutter much the review, no polish has been applied: - "Test campaigns" title should be black - Empty state should be displayed if the list is empty - Error state should be displayed in case of error while loading the list. - The card for each campaign should be styled. - The list is not ordered. All this will be done later, in a dedicated changeset. Part of story #14881: Transform β€œTest Management” pane in β€œIntegrated pane” Test Change-Id: Iccaad14382d9043e4cf3234bba1b2efcefab6ca1

Modified Files

Name
M plugins/testmanagement/include/TestPlan/TestPlanController.php +1 βˆ’1 Go to diff View file
M plugins/testmanagement/include/TestPlan/TestPlanPresenter.php +15 βˆ’2 Go to diff View file
M plugins/testmanagement/include/TestPlan/TestPlanPresenterBuilder.php +4 βˆ’2 Go to diff View file
M plugins/testmanagement/package-lock.json +337 βˆ’0 Go to diff View file
M plugins/testmanagement/package.json +6 βˆ’2 Go to diff View file
M plugins/testmanagement/scripts/test-plan/index.ts +13 βˆ’1 Go to diff View file
M plugins/testmanagement/scripts/test-plan/po/fr_FR.po +2 βˆ’2 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/components/App.test.ts +28 βˆ’0 Go to diff View file
M plugins/testmanagement/scripts/test-plan/src/components/App.vue +7 βˆ’3 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/components/Campaigns/CampaignCard.test.ts +34 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/components/Campaigns/CampaignCard.vue +37 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/components/Campaigns/CampaignSkeleton.vue +26 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/components/Campaigns/ListOfCampaigns.test.ts +107 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/components/Campaigns/ListOfCampaigns.vue +60 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/components/Campaigns/__snapshots__/CampaignCard.test.ts.snap +11 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/components/__snapshots__/App.test.ts.snap +9 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/helpers/local-vue-for-test.ts +34 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/store/campaign/campaign-actions.test.ts +58 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/store/campaign/campaign-actions.ts +50 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/store/campaign/campaign-mutations.test.ts +57 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/store/campaign/campaign-mutations.ts +33 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/store/campaign/index.ts +35 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/store/campaign/type.ts +25 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/store/index.ts +30 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/store/type.ts +29 βˆ’0 Go to diff View file
A plugins/testmanagement/scripts/test-plan/src/type.ts +23 βˆ’0 Go to diff View file
M plugins/testmanagement/templates/test-plan.mustache +4 βˆ’1 Go to diff View file
M plugins/testmanagement/tests/unit/TestPlan/TestPlanControllerTest.php +31 βˆ’5 Go to diff View file
M plugins/testmanagement/themes/BurningParrot/css/test-plan.scss +4 βˆ’0 Go to diff View file