stable

Clone or download

Read-only

Error state for campaign loading

In case of a backend error while loading the campaigns, then there should be an error state. You can assert that by throwing an exception in \Tuleap\TestManagement\REST\v1\ProjectResource::getCampaigns(). The empty state svg is also slightly updated by the Design Team to remove invisible layers. Part of story #14881: Transform “Test Management” pane in “Integrated pane” Test Change-Id: Ic5245095e3552dac6793d6da827cce6a8b99a6c7

Modified Files

Name
M plugins/testplan/scripts/test-plan/po/fr_FR.po +3 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignEmptyStateSvg.vue +161 −158 Go to diff View file
A plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignErrorState.test.ts +32 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignErrorState.vue +41 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/components/Campaigns/CampaignErrorStateSvg.vue +151 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/ListOfCampaigns.test.ts +40 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/Campaigns/ListOfCampaigns.vue +13 −1 Go to diff View file
A plugins/testplan/scripts/test-plan/src/components/Campaigns/__snapshots__/CampaignErrorState.test.ts.snap +23 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/campaign/campaign-actions.test.ts +11 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/campaign/campaign-actions.ts +3 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/campaign/campaign-mutations.test.ts +21 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/campaign/campaign-mutations.ts +4 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/campaign/index.ts +1 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/campaign/type.ts +1 −0 Go to diff View file