stable
Clone or download
Part of story #12187 configure workflow pre & post actions at target state level How to test: - Setup the feature flag - Forge your DB to set is_advanced = 0 on a workflow - When you browse that workflow in the new UI, you will see buttons to configure the state in the column header - When you click that button, the title of the modal says that you are editing all transitions to that state. - When there are no transitions defined in that column, you should not see a button. - Given the only transition defined is from "new artifact", when you open the modal, you should not see the "comment required" pre condition. - Given there is at least one transition that is not from "new artifact", when you open the modal, you should see the "comment required" pre condition. Will be done later: - switching from/to advanced mode. Change-Id: Ib0c837be3309a4b92e8ea7b4cd11fa40904d2939
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/www/scripts/workflow-transitions/po/fr.po | +6 | −0 | Go to diff View file |
A | plugins/tracker/www/scripts/workflow-transitions/src/components/ConfigureStateButton.vue | +49 | −0 | Go to diff View file |
A | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionMatrixColumnHeader.spec.js | +106 | −0 | Go to diff View file |
A | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionMatrixColumnHeader.vue | +61 | −0 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionMatrixContent.spec.js | +49 | −0 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionMatrixContent.vue | +9 | −12 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/TransitionModal.vue | +6 | −35 | Go to diff View file |
A | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/TransitionModalTitle.vue | +66 | −0 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionsConfigurationHeaderSection.vue | +5 | −10 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionsMatrixSection.vue | +10 | −7 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/store/getters.js | +15 | −0 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/store/getters.spec.js | +33 | −1 | Go to diff View file |
M | plugins/tracker/www/themes/BurningParrot/css/workflow/_matrix.scss | +5 | −1 | Go to diff View file |