stable

Clone or download

Read-only

Have a change field modal

Part of story #12187 configure workflow pre & post actions at target state level How to test: go to /plugins/tracker/workflow/{tracker_id}/transitions with a tracker which has workflow field configured. Click on "change or remove" field button. Stands for: modal confirmation + on confirmation it resets transitions and you go back to first configuration (field_id, transitions, is_used configurations are deleted) Change-Id: Ic3bea0787fe5afdafe7e18a4c0d95aad1da819ce

Modified Files

Name
M plugins/tracker/include/REST/v1/TrackersResource.class.php +46 −7 Go to diff View file
M plugins/tracker/include/workflow/WorkflowFactory.class.php +9 −5 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +6 −0 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +6 −0 Go to diff View file
M plugins/tracker/tests/rest/Workflows/TrackerWorkflowsTest.php +43 −0 Go to diff View file
M plugins/tracker/www/scripts/webpack.config.js +2 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/po/fr.po +18 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/po/template.pot +15 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/api/rest-querier.js +14 −3 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/api/rest-querier.spec.js +20 −6 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/app.spec.js +1 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/components/ChangeFieldConfirmationModal.vue +83 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionsConfigurationHeaderSection.vue +27 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/actions.js +22 −17 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/actions.spec.js +33 −37 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/store/exceptionHandler.js +32 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/store/exceptionHandler.spec.js +86 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/mutations.js +6 −10 Go to diff View file