stable

Clone or download

Read-only

Convert Open list field validation to ES module

Part of request #13057 Replace AngularJS services by javascript ES modules in the artifact modal How to test: - rebuild one of the apps that uses the modal (Kanban, Planning or TestManagement) - Using the artifact modal, create and edit artifacts with open list fields. No functional change expected. Will be done later: - convert the other services. Lots of patches for that. - Reduce dependencies. This is not about removing lodash and whatnot. Change-Id: I5d01618859bf4cde59b4668d3b6e5900149df013

Modified Files

Name
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/open-list-field/open-list-field-validate-service.js +50 −37 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/open-list-field/open-list-field-validate-service.spec.js +26 −19 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/open-list-field/open-list-field.js +20 −3 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/validate-service.js +23 −7 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/src/validate-service.spec.js +19 −0 Go to diff View file
M plugins/tracker/www/scripts/constants/fields-constants.js +7 −3 Go to diff View file