stable

Clone or download

Read-only

Empty Workflow configuration 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 - Enable a transition and click on the "Configure" button. - A modal should open with a loading skeleton. - When loaded, the modal will show a read-only form for pre-conditions. - The actual saved transition configuration from DB won't be shown at this stage. - The modal's contents cannot be saved at this stage, this will come later. - When there's a REST error, it will appear at the top of the modal's body. - There should be a doc showing "form input skeletons" for TLP. - No functional changes expected in the AngularJS Artifact modal. Will be done later: - Showing an "empty state" for actions on the right - Showing the actual transition configuration from DB - Saving changes to the transition configuration on submit - All users / registered_users ugroups should be in the list of choices for the transition permission. At this moment they are not returned by the REST route. Change-Id: I1993f9375e37894101cb0fe25758b801fac412a8

Modified Files

Name
M plugins/tracker/www/scripts/angular-artifact-modal/src/model/model.js +2 −2 Go to diff View file
D plugins/tracker/www/scripts/angular-artifact-modal/src/model/structural-fields-constant.js +0 −3 Go to diff View file
A plugins/tracker/www/scripts/constants/fields-constants.js +36 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/po/fr.po +25 −4 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/po/template.pot +21 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/api/rest-querier.js +11 −5 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/api/rest-querier.spec.js +26 −2 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/app.spec.js +2 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/BaseTrackerWorkflowTransitions.vue +3 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionMatrixContent.vue +9 −1 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/ModalErrorFeedback.vue +38 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PreConditionsSection.vue +106 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/TransitionModal.vue +81 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/getters.js +4 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/index.js +5 −1 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/module.js +41 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-actions.js +44 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-actions.spec.js +111 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-mutations.js +42 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-mutations.spec.js +63 −0 Go to diff View file
M plugins/tracker/www/themes/BurningParrot/css/_workflow.scss +1 −0 Go to diff View file
A plugins/tracker/www/themes/BurningParrot/css/workflow/_transition-modal.scss +23 −0 Go to diff View file
M src/www/themes/common/tlp/doc/css/_demos.scss +5 −0 Go to diff View file
M src/www/themes/common/tlp/doc/css/main.scss +7 −2 Go to diff View file
M src/www/themes/common/tlp/doc/resources/flyover/modals/structure/example.html +44 −16 Go to diff View file
M src/www/themes/common/tlp/doc/resources/visual-assets/skeletons/example.html +5 −0 Go to diff View file
M src/www/themes/common/tlp/src/scss/components/_modal.scss +15 −9 Go to diff View file
M src/www/themes/common/tlp/src/scss/components/_skeleton.scss +27 −9 Go to diff View file