stable

Clone or download

Read-only

feat: Disabled update configuration modal

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 "Update configuration" button is now active. When you click it, it opens a modal with fields to update the group link's configuration: "allow artifact closure" and "branch prefix". The modal submit is disabled. - When you check the "Prefix" checkbox, it makes the "Prefix" input required and enabled. When you uncheck it, it makes it disabled. Notes: Submit of the modal has been split to reduce the size of this commit. It will be done separately. Change-Id: I43486bf1586fe6556b600cf3d89ab083206d9dd5

Modified Files

Name
M plugins/gitlab/include/Admin/LinkedGroupPresenter.php +6 −2 Go to diff View file
M plugins/gitlab/scripts/group-link-wizard/po/fr_FR.po +2 −2 Go to diff View file
A plugins/gitlab/scripts/linked-group/src/EditConfigurationModal.test.ts +121 −0 Go to diff View file
A plugins/gitlab/scripts/linked-group/src/EditConfigurationModal.ts +77 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/src/main.ts +2 −0 Go to diff View file
M plugins/gitlab/scripts/linked-group/themes/main.scss +3 −1 Go to diff View file
M plugins/gitlab/site-content/fr_FR/LC_MESSAGES/tuleap-gitlab.po +29 −0 Go to diff View file
M plugins/gitlab/site-content/pt_BR/LC_MESSAGES/tuleap-gitlab.po +23 −0 Go to diff View file
M plugins/gitlab/templates/admin/linked-group-information.mustache +83 −5 Go to diff View file