stable

Clone or download

Read-only

Introduce step 2 (read mode)

part of: story #14291 Beautiful tracker creation How to test: - Select the [template] option - Choose a tracker --> The [Next ->] button is not disabled anymore - Click on [Next ->] --> You land to step 2 --> The name field is already filled with the selected tracker - click on [<- Back] --> You land on step 1 --> The selectbox has already the previously selected tracker as its current value - Go back to step 2 - Refresh the page --> Back to step 1, no data kept (a security will be added later) Change-Id: I4dc7f6b452947bd97e77eb60cf913f453a7993b6

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/TrackerCreationController.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerCreationPresenter.php +9 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/TrackerCreationPresenterBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +4 −6 Go to diff View file
M plugins/tracker/phpunit/Tracker/Creation/TrackerCreationPresenterBuilderTest.php +16 −8 Go to diff View file
M plugins/tracker/scripts/package-lock.json +5 −0 Go to diff View file
M plugins/tracker/scripts/package.json +1 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/index.ts +10 −2 Go to diff View file
M plugins/tracker/scripts/tracker-creation/po/fr_FR.po +27 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/App.vue +2 −7 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/layout/StepLayout.vue +17 −4 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/layout/StepNavigationButtons.test.ts +88 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/layout/StepNavigationButtons.vue +67 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/StepOne.vue +4 −2 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/StepOneInfo.vue +0 −1 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerTemplate/TrackerTemplateSelector.test.ts +25 −2 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerTemplate/TrackerTemplateSelector.vue +16 −6 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/StepTwo.vue +51 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/StepTwoInfo.vue +37 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldDescription.vue +50 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldName.vue +46 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldShortname.vue +39 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/helpers/local-vue-for-tests.ts +2 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/router/index.ts +58 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/store/getters.test.ts +52 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/store/getters.ts +26 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/index.ts +3 −1 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/store/mutations.test.ts +59 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/mutations.ts +15 −6 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/type.ts +1 −1 Go to diff View file
M plugins/tracker/templates/tracker-creation/tracker-creation-app.mustache +5 −1 Go to diff View file
M plugins/tracker/themes/BurningParrot/css/tracker-creation/includes/_creation-step-layout.scss +19 −2 Go to diff View file