stable

Clone or download

Read-only

Create tracker based on template from another project

part of: story #14640 Complete tracker creation How to test: - Select the [Tracker from another project] option --> The Tracker selectbox is disabled - select a project --> The Tracker selectbox is enabled --> The Tracker selectbox displays the tracker from the selected project - select another project --> The trackers in the Tracker selectbox are updated - Select a Tracker --> The [Next ->) button is clickable - Go to step 2 --> The selected template name is displayed --> The fields are pre-filled --> Errors shown if any - Go back to step 1 --> The previously selected project and tracker are still selected - Go to step 2 - Correct the potential errors, then submit --> The tracker is created Change-Id: I984e51825ed10ddda58ee491d498f53017aba1b5

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/TrackerCreationController.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerCreationPresenter.php +15 −6 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerCreationPresenterBuilder.php +61 −4 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +5 −1 Go to diff View file
M plugins/tracker/phpunit/Tracker/Creation/TrackerCreationPresenterBuilderTest.php +82 −12 Go to diff View file
M plugins/tracker/scripts/tracker-creation/index.ts +9 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/po/fr_FR.po +17 −2 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/StepOne.vue +3 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerFromAnotherProject/TrackerFromAnotherProjectCard.vue +51 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerFromAnotherProject/TrackerFromAnotherProjectDescription.vue +29 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerFromAnotherProject/TrackerFromAnotherProjectSelector.test.ts +127 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerFromAnotherProject/TrackerFromAnotherProjectSelector.vue +130 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerTemplate/TrackerTemplateCardDescription.vue +1 −1 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/svg/SvgTrackerFromAnotherProject.vue +48 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/StepTwo.test.ts +27 −1 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/StepTwo.vue +11 −1 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldChosenTemplate.vue +8 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldTrackerTemplateId.test.ts +61 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldTrackerTemplateId.vue +16 −2 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/getters.test.ts +26 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/getters.ts +17 −1 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/mutations.test.ts +38 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/mutations.ts +28 −2 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/type.ts +11 −1 Go to diff View file
M plugins/tracker/templates/tracker-creation/tracker-creation-app.mustache +1 −0 Go to diff View file
M plugins/tracker/themes/BurningParrot/css/tracker-creation/includes/_creation-options-cards.scss +5 −0 Go to diff View file