stable

Clone or download

Read-only

Convert the edit modal for system services to Vue

Part of story #13566 associate a custom icon to external services The mustache modal is now deleted, it is all through Vue. How to test: - As a project admin, when you edit a system service (defined by plugins), then you can activate the service, edit its link and rank. You cannot edit its label, shortname or description - You should not be able to edit Summary service's rank - You should not be able to deactivate the Admin service - As a site admin, when you edit a system service, then you can edit the same as project admin and you can also see the service's shortname and make it available for new projects. Change-Id: I179f105562fe451512cb9f1c124985354864c80e

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +0 −6 Go to diff View file
M src/common/Project/Service/ServiceJSONPresenter.php +22 −10 Go to diff View file
M src/common/Project/Service/ServicePresenter.php +20 −52 Go to diff View file
M src/common/Project/Service/ServicesPresenterBuilder.php +21 −30 Go to diff View file
D src/templates/project/admin/services/services-edit-modal.mustache +0 −172 Go to diff View file
M src/templates/project/admin/services/services.mustache +2 −4 Go to diff View file
M src/www/scripts/project/admin/services/po/fr.po +25 −8 Go to diff View file
M src/www/scripts/project/admin/services/src/components/BaseProjectAdminEditModal.vue +13 −3 Go to diff View file
M src/www/scripts/project/admin/services/src/components/BaseSiteAdminEditModal.vue +22 −10 Go to diff View file
M src/www/scripts/project/admin/services/src/components/EditModal.vue +3 −2 Go to diff View file
D src/www/scripts/project/admin/services/src/components/ProjectDefinedService.vue +0 −201 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/EditableSystemService.vue +75 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/HiddenServiceIsActive.vue +22 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/HiddenServiceShortname.vue +22 −0 Go to diff View file
R src/www/scripts/project/admin/services/src/components/IconSelector.vue Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ProjectDefinedService.vue +94 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ReadOnlyServiceIcon.vue +25 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ReadOnlyServiceRank.vue +25 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ReadOnlySystemService.vue +74 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ServiceDescription.vue +56 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ServiceId.vue +22 −0 Go to diff View file
R src/www/scripts/project/admin/services/src/components/IsActiveInput.vue Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ServiceIsUsed.vue +42 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ServiceLabel.vue +54 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ServiceLink.vue +70 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ServiceRank.vue +39 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/service-mixin.js +31 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/system-service-mixin.js +31 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/components/edit-modal-mixin.js +7 −5 Go to diff View file
A src/www/scripts/project/admin/services/src/constants.js +21 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/edit-modal-initializer.js +2 −2 Go to diff View file
M src/www/themes/BurningParrot/css/includes/project-admin/_services.scss +3 −2 Go to diff View file
M tests/e2e/full/cypress/integration/project_admin.spec.js +8 −5 Go to diff View file