stable

Clone or download

Read-only

Convert CreateGitlabLinkModal to TypeScript

Part of request request #17991 Convert Git Vue to TypeScript No functional changes. How to test: - To be git admin - Go to git plugin - Integrate a Gitlab repository => Use a bad token to have an error message => Use a token with 'read_api' scope |_ You have the list of Gitlab repository but you can't integrate one => Use a token with 'api' scope |_ Gitlab repositories are listed, you can select one and intragrate it Change-Id: I90baf9067d8244faf4ca63a2fc3a856068cc040e

Modified Files

Name
M plugins/git/scripts/repositories/src/api/rest-querier.js +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/ActionBar/DisplayModeSwitcher.vue +1 −4 Go to diff View file
M plugins/git/scripts/repositories/src/components/App.vue +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/ErrorMessage.vue +1 −1 Go to diff View file
R plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/CredentialsFormModal.test.js Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/CredentialsFormModal.vue +81 −84 Go to diff View file
R plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/GitlabRepositoryModal.test.js Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/GitlabRepositoryModal.vue +67 −65 Go to diff View file
R plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/ListRepositoriesModal.test.js Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/CreateGitlabLinkModal/ListRepositoriesModal.vue +109 −100 Go to diff View file
R plugins/git/scripts/repositories/src/constants.js Go to diff View file
M plugins/git/scripts/repositories/src/store/actions.js +2 −2 Go to diff View file
M plugins/git/scripts/repositories/src/store/actions.test.js +6 −8 Go to diff View file
M plugins/git/scripts/repositories/src/store/getters.js +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/store/getters.test.js +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/store/mutations.js +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/store/mutations.test.js +1 −1 Go to diff View file
M plugins/git/scripts/repositories/src/store/state.js +1 −5 Go to diff View file
M plugins/git/scripts/repositories/src/type.ts +24 −2 Go to diff View file