stable

Clone or download

Read-only

feat: Active token modal

Part of story #26799 associate a Tuleap project and a GitLab group How to test: How to test: - Either complete the wizard or call the POST REST route manually to link a Project and a Group. - When you go to the Git Administration tab, click on the "Update token" button and submit the modal. Two REST calls are made and the new token is saved (but otherwise nothing changes on the UI). - If the token is invalid, a specific error is shown in the modal feedback section. If there are other errors, they are shown in the modal feedback section. Change-Id: Ic0f4e9c58d1091573546bb79f9416629354667cf

Modified Files

Name
M plugins/gitlab/include/Admin/LinkedGroupPresenter.php +2 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/package.json +1 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/po/fr_FR.po +11 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/po/pt_BR.po +9 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/src/EditConfigurationModal.test.ts +6 −2 Go to diff View file
M plugins/gitlab/scripts/linked-group/src/EditConfigurationModal.ts +6 −2 Go to diff View file
A plugins/gitlab/scripts/linked-group/src/GroupInformation.ts +24 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/src/TokenModal.test.ts +135 −4 Go to diff View file
M plugins/gitlab/scripts/linked-group/src/TokenModal.ts +98 −2 Go to diff View file
M plugins/gitlab/scripts/linked-group/src/classnames.ts +1 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/src/main.ts +8 −1 Go to diff View file
M plugins/gitlab/templates/admin/linked-group-information.mustache +3 −1 Go to diff View file