stable

Clone or download

Read-only

[feature] Create the branch with the modal

This is part of story #21336: create a development branch on GitLab out of an artifact If you fill the form, then the branch must be created on GitLab side. The modal is not closed when the actions is done. Errors are not handled yet. There is no visual feedback that shows that actions is processing and finished. Those will be added in the next commit. Change-Id: I5a3b8de0adbfb6a54e982b65befda199fd43e5ee

Modified Files

Name
M plugins/gitlab/include/REST/v1/GitlabBranchCreator.php +3 −1 Go to diff View file
M plugins/gitlab/package-lock.json +3 −0 Go to diff View file
M plugins/gitlab/package.json +2 −1 Go to diff View file
A plugins/gitlab/scripts/artifact-create-branch-action/src/api/rest-querier.test.ts +37 −0 Go to diff View file
A plugins/gitlab/scripts/artifact-create-branch-action/src/api/rest-querier.ts +43 −0 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/components/App.vue +84 −59 Go to diff View file
A plugins/gitlab/scripts/artifact-create-branch-action/src/store/actions.ts +34 −0 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/store/index.ts +2 −0 Go to diff View file
M plugins/gitlab/scripts/artifact-create-branch-action/src/store/type.ts +7 −0 Go to diff View file
M plugins/gitlab/tests/unit/REST/v1/GitlabBranchCreatorTest.php +1 −1 Go to diff View file