stable

Clone or download

Read-only

Select icon and open in new tab in Add modal

part of story #13566 associate a custom icon to external services part of story #13567 decide that custom services opens in a new tab/window by default How to test: - As project admin, you can add a new service. The icon selector will let you choose an icon and there is a switch to "open in a new tab" but those values are not saved yet (they are ignored). There is a preview of the label and icon. - As site admin, you can add a new service and can also set it to available for new projects. - As site admin, only in the Default Site Template, you can choose a short name. However, when you add it, the service is invisible in the UI of all projects [0]. - You can no longer choose to add a new service that opens in an iframe (the input is removed). - No functional change when Editing services. [0]: see request #13712, that behaviour is the same on master. Change-Id: I13f5f9678524cb160e77f5115458ff38f784d6a0

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +3 −27 Go to diff View file
D src/templates/project/admin/services/services-add-modal.mustache +0 −135 Go to diff View file
M src/templates/project/admin/services/services.mustache +8 −3 Go to diff View file
M src/www/scripts/project/admin/services/app.spec.js +1 −1 Go to diff View file
M src/www/scripts/project/admin/services/po/fr.po +12 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/AddModal.vue +95 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/BaseProjectAdminAddModal.vue +52 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/components/BaseProjectAdminEditModal.spec.js +3 −3 Go to diff View file
M src/www/scripts/project/admin/services/src/components/BaseProjectAdminEditModal.vue +7 −6 Go to diff View file
A src/www/scripts/project/admin/services/src/components/BaseSiteAdminAddModal.vue +73 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/components/BaseSiteAdminEditModal.spec.js +3 −3 Go to diff View file
M src/www/scripts/project/admin/services/src/components/BaseSiteAdminEditModal.vue +10 −9 Go to diff View file
M src/www/scripts/project/admin/services/src/components/EditModal.vue +2 −2 Go to diff View file
M src/www/scripts/project/admin/services/src/components/Service/EditableSystemService.vue +23 −8 Go to diff View file
M src/www/scripts/project/admin/services/src/components/Service/IconSelector.vue +6 −2 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/InCreationCustomService.vue +89 −0 Go to diff View file
R src/www/scripts/project/admin/services/src/components/Service/ProjectDefinedService.spec.js Go to diff View file
R src/www/scripts/project/admin/services/src/components/Service/ProjectDefinedService.vue Go to diff View file
M src/www/scripts/project/admin/services/src/components/Service/ReadOnlySystemService.vue +18 −5 Go to diff View file
M src/www/scripts/project/admin/services/src/components/Service/ServiceDescription.vue +6 −2 Go to diff View file
M src/www/scripts/project/admin/services/src/components/Service/ServiceIsActive.vue +3 −3 Go to diff View file
M src/www/scripts/project/admin/services/src/components/Service/ServiceIsUsed.vue +3 −3 Go to diff View file
M src/www/scripts/project/admin/services/src/components/Service/ServiceLabel.vue +6 −2 Go to diff View file
M src/www/scripts/project/admin/services/src/components/Service/ServiceLink.vue +6 −2 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ServiceOpenInNewTab.vue +42 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/components/Service/ServiceRank.vue +2 −2 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ServiceShortname.vue +59 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/add-modal-mixin.js +65 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/components/edit-modal-mixin.js +0 −16 Go to diff View file
A src/www/scripts/project/admin/services/src/components/service-modal-mixin.js +39 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/constants.js +1 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/index-project-admin.js +10 −4 Go to diff View file
M src/www/scripts/project/admin/services/src/index-site-admin.js +10 −4 Go to diff View file
M src/www/scripts/project/admin/services/src/modal-initializer.js +13 −13 Go to diff View file
R src/www/scripts/project/admin/services/src/edit-modal-initializer.js Go to diff View file
M src/www/scripts/project/po/fr.po +20 −7 Go to diff View file
M src/www/themes/BurningParrot/css/includes/project-admin/_services.scss +1 −1 Go to diff View file