stable
Clone or download
Now when the user selects a file that is not a XML file, The app does not attempt to parse it. For the record, Edge Legacy does not support the "accept" attribute on inputs, so when the OS file manager opens, it does not filter on XML files. Also a spinner was missing on the [Next ->] button while data was being extracted from the xml file. When it takes a longer time, the button is clickable although the data have not been extracted yet. story #14291 Beautiful tracker creation How to test: - Try to upload a big, non-xml file --> The error is displayed immédiately (no delay) - Slow down the perfs of your browser, and select a big xml file --> The [Next ->] button is disabled --> A spinner replaces fa-long-arrow-right Change-Id: Ie1fd2d9cb1f522549e29fc45d7b85a41706c6840
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/scripts/tracker-creation/index.ts | +1 | −0 | Go to diff View file |
M | plugins/tracker/scripts/tracker-creation/src/components/steps/layout/StepNavigationButtons.vue | +11 | −2 | Go to diff View file |
M | plugins/tracker/scripts/tracker-creation/src/helpers/xml-data-extractor.test.ts | +13 | −10 | Go to diff View file |
M | plugins/tracker/scripts/tracker-creation/src/helpers/xml-data-extractor.ts | +7 | −1 | Go to diff View file |
M | plugins/tracker/scripts/tracker-creation/src/store/getters.test.ts | +16 | −2 | Go to diff View file |
M | plugins/tracker/scripts/tracker-creation/src/store/getters.ts | +2 | −1 | Go to diff View file |
M | plugins/tracker/scripts/tracker-creation/src/store/mutations.ts | +3 | −0 | 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-step-layout.scss | +1 | −0 | Go to diff View file |