stable

Clone or download

Read-only

Re-introduce the add to backlog post action option in the workflow transition modal

Part of story #14096 have a post action to add "Scrum Top Backlog" flag This patch only render the new post action option. There is no functional change. how to test: - go to the transition modal and click on "Unique actions" select => The 'Add the to backlog" option is disabled - Go to the AddToBacklogPostActionOption.vue - L55 replace valid: false by valid: true - Rebuild ... - Return to the UI and select "Add to baclog" post action => You should see the descrption of the post action - Add a second post action and try to select the "add to backlog" option => You cannot because it's already used See the commit 6ddcf93f1d584be0e00a91fb29ba8787d742e5ad to know why we cannot import external component in a simple way Change-Id: I0fa615f4c1e953d0b70ed9f09f3fd9d2e7a56d1f

Modified Files

Name
M plugins/agiledashboard/include/agiledashboardPlugin.php +14 −0 Go to diff View file
M plugins/tracker/include/Tracker/Workflow/WorkflowMenuTabPresenter.php +6 −3 Go to diff View file
M plugins/tracker/include/Tracker/Workflow/WorkflowMenuTabPresenterBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Workflow/WorkflowTransitionController.php +35 −10 Go to diff View file
A plugins/tracker/include/Workflow/PostAction/GetExternalPostActionPluginsEvent.php +64 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +3 −1 Go to diff View file
M plugins/tracker/templates/workflow-transitions/workflow-transitions.mustache +1 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/po/fr.po +9 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/BaseTrackerWorkflowTransitions.vue +5 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/Externals/AddToBacklogPostAction.test.js +35 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/Externals/AddToBacklogPostAction.vue +50 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/Externals/AddToBacklogPostActionOption.test.js +72 −0 Go to diff View file
A plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/Externals/AddToBacklogPostActionOption.vue +68 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PostAction/FrozenFieldsAction.test.js +2 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PostAction/HiddenFieldsetsAction.test.js +2 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PostAction/PostAction.test.js +8 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PostAction/PostAction.vue +10 −4 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PostAction/SetValueAction.test.js +2 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PostActionsSection.test.js +67 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PostActionsSection.vue +4 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/constants/workflow-constants.js +5 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/index.js +8 −2 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/module.js +2 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-actions.js +6 −1 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-getters.js +4 −0 Go to diff View file
M plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-mutations.js +6 −1 Go to diff View file