stable

Clone or download

Read-only

DRY the error handling if there is a REST error.

Part of story #21418 close artifacts with Done semantic No functionnal change expected. All the 3 menus of the cards sould still work as before Change-Id: I00c9b379f5b86fcd6d9b1c167a5f17f9856f0a24

Modified Files

Name
M plugins/git/scripts/repositories/src/components/GitlabModal/ArtifactClosureModal/ArtifactClosureModal.test.ts +14 −10 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/ArtifactClosureModal/ArtifactClosureModal.vue +5 −28 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/ConfirmReplaceTokenModal.test.ts +15 −9 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/EditAccessTokenGitlabModal/ConfirmReplaceTokenModal.vue +3 −29 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/RegenerateGitlabWebhookModal/RegenerateGitlabWebhook.test.ts +14 −9 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/RegenerateGitlabWebhookModal/RegenerateGitlabWebhook.vue +4 −27 Go to diff View file
A plugins/git/scripts/repositories/src/gitlab/gitlab-error-handler.test.ts +89 −0 Go to diff View file
A plugins/git/scripts/repositories/src/gitlab/gitlab-error-handler.ts +47 −0 Go to diff View file
A plugins/git/scripts/repositories/src/gitlab/vue-gettext-provider.ts +22 −0 Go to diff View file