stable

Clone or download

Read-only

Select a xml tracker

part of: story #14291 Beautiful tracker creation How to test: - Click on the [Tracker xml file] card - Select a file --> The [next step ->] button is clickable - Click on the [Template] option --> The [next step ->] button is disabled - Click again on [Tracker xml file] - Go to next step --> Form is filled automatically with data found in the xml file - Now put var_dump($_FILES); die(); in TrackerCreationProcessorController::85 - Submit the form --> Info of the selected file are visible from the backend Change-Id: I0b9b783a13ad125e69a4dad845499d1adf247b20

Modified Files

Name
M plugins/tracker/scripts/tracker-creation/index.ts +3 −1 Go to diff View file
M plugins/tracker/scripts/tracker-creation/po/fr_FR.po +7 −1 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/TrackerXmlFile/TrackerXmlFileCard.vue +49 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerXmlFile/TrackerXmlFileCardDescription.vue +29 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerXmlFile/TrackerXmlFileSelector.test.ts +76 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerXmlFile/TrackerXmlFileSelector.vue +76 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/svg/SvgTrackerXmlFile.vue +29 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/StepTwo.test.ts +110 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/StepTwo.vue +41 −2 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldName.vue +0 −7 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldShortname.vue +1 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/helpers/xml-data-extractor.test.ts +117 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/helpers/xml-data-extractor.ts +64 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/getters.test.ts +17 −4 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/getters.ts +23 −2 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/mutations.ts +33 −3 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/type.ts +4 −1 Go to diff View file
M plugins/tracker/themes/BurningParrot/css/tracker-creation/includes/_creation-options-cards.scss +4 −0 Go to diff View file
M plugins/tracker/themes/BurningParrot/css/tracker-creation/includes/_creation-step-layout.scss +4 −0 Go to diff View file