stable

Clone or download

Read-only

refactor: drop tlp-fetch

part of request #27503 replace tlp-fetch + neverthrow by fetch-result Only a small functional change is expected in the "create GitLab branch & MR" artifact actions button. The error messages now appear in a tlp-modal-feedback section. The error message from the REST route is also concatenated. No other functional change expected. When creating a branch, there should still be a success feedback at the end. If it fails, there should still be an error message at the top of the modal. Change-Id: Ia28938ec5d0d62a5bd6fe3a30186c127af970eec

Modified Files

Name
M lib/frontend/fetch-result/src/main.ts +1 −0 Go to diff View file
M plugins/gitlab/package.json +0 −1 Go to diff View file
M plugins/gitlab/pnpm-lock.yaml +0 −2 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/po/fr_FR.po +2 −3 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/po/pt_BR.po +1 −1 Go to diff View file
A plugins/gitlab/scripts/artifact-create-branch-action/src/BranchCreationFault.ts +27 −0 Go to diff View file
A plugins/gitlab/scripts/artifact-create-branch-action/src/MergeRequestCreationFault.ts +27 −0 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/api/rest-querier.test.ts +15 −48 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/api/rest-querier.ts +6 −48 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/components/ModalContent.vue +42 −38 Go to diff View file