stable

Clone or download

Read-only

Display a global error state in case of a global error

If the REST API is throwing an exception (in TaskboardResource.php), then the columns are not displayed and an error state is displayed. Part of story #13640 See minimal card display Change-Id: I27a9af5e87288e69374bee3d759b96a9fee9dd07

Modified Files

Name
M plugins/taskboard/scripts/taskboard/po/fr_FR.po +10 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/App.test.ts +43 −14 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/App.vue +10 −2 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/GlobalError/GlobalAppError.test.ts +55 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/GlobalError/GlobalAppError.vue +68 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/GlobalError/__snapshots__/GlobalAppError.test.ts.snap +66 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/__snapshots__/App.test.ts.snap +8 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/images/illustrations.svg +14 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/actions.test.ts +21 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/actions.ts +32 −15 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/error/error-getters.test.ts +32 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/error/error-getters.ts +24 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/error/error-mutations.test.ts +29 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/error/error-mutations.ts +24 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/store/error/module.ts +30 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/index.ts +5 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/type.d.ts +4 −0 Go to diff View file
M plugins/taskboard/themes/_taskboard.scss +1 −0 Go to diff View file
A plugins/taskboard/themes/includes/_error.scss +36 −0 Go to diff View file