stable

Clone or download

Read-only

Show error modal when error while loading children

part of story #13627: display children of cards How to test: - Throw a RestException in TaskboardCardResource - When taskboard app loads children, it should show a "danger" modal with the error. Change-Id: Ic95ee5b1d4b0122c6b39d36d47d0cdd49acdcfad

Modified Files

Name
M plugins/taskboard/scripts/taskboard/po/fr_FR.po +4 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/App.test.ts +19 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/App.vue +6 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/GlobalError/ErrorModal.test.ts +86 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/GlobalError/ErrorModal.vue +98 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/GlobalError/GlobalAppError.test.ts +3 −3 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/GlobalError/GlobalAppError.vue +4 −2 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/GlobalError/__snapshots__/ErrorModal.test.ts.snap +97 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/GlobalError/__snapshots__/GlobalAppError.test.ts.snap +9 −5 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/__snapshots__/App.test.ts.snap +10 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/error/error-actions.test.ts +57 −23 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/error/error-actions.ts +13 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/error/error-mutations.test.ts +31 −12 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/error/error-mutations.ts +5 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/error/index.ts +3 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/error/type.d.ts +2 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-actions.test.ts +8 −7 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-actions.ts +2 −2 Go to diff View file
M plugins/taskboard/themes/includes/_error.scss +4 −0 Go to diff View file