stable

Clone or download

Read-only

Have a slugify mode for the tracker shortname

part of story #14291 Beautiful tracker creation How to test: - Create a tracker from another tracker --> on step 2, the tracker shortname is in slugify mode --> It slugifies everything you type in the Name input --> Stops at 25 chars --> The tracker is created when you submit - Create a tracker from a XML file --> No slugify mode since we extract the shortname from the file. Change-Id: I9f467e0df2be6b4b88fb75f926ae5324c7990070

Modified Files

Name
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 +2 −1 Go to diff View file
M plugins/tracker/scripts/tracker-creation/po/fr_FR.po +3 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/StepOne.test.ts +37 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/StepOne.vue +9 −1 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldName.test.ts +79 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldName.vue +11 −2 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldShortname.test.ts +86 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldShortname.vue +14 −4 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldShortnameSlugified.test.ts +29 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldShortnameSlugified.vue +45 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/helpers/shortname-slugifier.test.ts +42 −0 Go to diff View file
A plugins/tracker/scripts/tracker-creation/src/helpers/shortname-slugifier.ts +52 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/getters.test.ts +29 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/getters.ts +4 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/mutations.test.ts +73 −0 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/mutations.ts +19 −5 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/store/type.ts +1 −0 Go to diff View file
M plugins/tracker/themes/BurningParrot/css/tracker-creation/includes/_creation-options-cards.scss +1 −0 Go to diff View file
M plugins/tracker/themes/BurningParrot/css/tracker-creation/includes/_creation-step-layout.scss +18 −0 Go to diff View file