stable

Clone or download

Read-only

feat: Unlink button is active

Part of story #26799 associate a Tuleap project and a GitLab group 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, the "Unlink" button is now active. If you click it, a modal opens. If you confirm the modal, a REST call is made and at the end the page reloads to show the wizard again. The button stays inactive to avoid triggering an error while the page reloads. - If there is an error, it is shown in the modal feedback section. Change-Id: Id697864051585d0519a17c311fc76fc9e3fd6534

Modified Files

Name
M plugins/gitlab/build-manifest.json +6 −0 Go to diff View file
M plugins/gitlab/include/Admin/GitLabLinkGroupController.php +1 −1 Go to diff View file
M plugins/gitlab/include/Admin/LinkedGroupPresenter.php +5 −0 Go to diff View file
A plugins/gitlab/scripts/linked-group/jest.config.js +29 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/package.json +13 −3 Go to diff View file
M plugins/gitlab/scripts/linked-group/pnpm-lock.yaml +32 −0 Go to diff View file
A plugins/gitlab/scripts/linked-group/po/fr_FR.po +16 −0 Go to diff View file
A plugins/gitlab/scripts/linked-group/po/pt_BR.po +16 −0 Go to diff View file
A plugins/gitlab/scripts/linked-group/src/UnlinkModal.test.ts +122 −0 Go to diff View file
A plugins/gitlab/scripts/linked-group/src/UnlinkModal.ts +90 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/src/main.ts +17 −3 Go to diff View file
M plugins/gitlab/scripts/linked-group/themes/main.scss +4 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/tsconfig.json +3 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/vite.config.ts +2 −0 Go to diff View file
M plugins/gitlab/site-content/fr_FR/LC_MESSAGES/tuleap-gitlab.po +32 −0 Go to diff View file
M plugins/gitlab/site-content/pt_BR/LC_MESSAGES/tuleap-gitlab.po +24 −0 Go to diff View file
M plugins/gitlab/templates/admin/linked-group-information.mustache +40 −6 Go to diff View file