stable

Clone or download

Read-only

Refactoring: Use Vuex to manage feedbacks

Part of story #12345 export results to csv How to test: - no functional changes expected, Success and error feedbacks are still correctly shown - When I save the report, the success message is shown - When there is an error while loading the report id, the projects, the trackers or the report content, then they are shown Change-Id: Ic95792d37c75d5aeb089ec47ef2e0a79dcc83fd1

Modified Files

Name
M plugins/crosstracker/scripts/cross-tracker/po/fr.po +1 −1 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/po/template.pot +1 −1 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/ArtifactTable.spec.js +33 −19 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/ArtifactTable.vue +12 −2 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/CrossTrackerWidget.spec.js +21 −64 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/CrossTrackerWidget.vue +14 −60 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/app.spec.js +1 −0 Go to diff View file
A plugins/crosstracker/scripts/cross-tracker/src/components/ErrorMessage.vue +34 −0 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/reading-mode/ReadingMode.spec.js +23 −20 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/reading-mode/ReadingMode.vue +7 −6 Go to diff View file
A plugins/crosstracker/scripts/cross-tracker/src/store/getters.js +22 −0 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/store/index.js +5 −3 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/store/mutations.js +43 −17 Go to diff View file
A plugins/crosstracker/scripts/cross-tracker/src/store/mutations.spec.js +88 −0 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/store/state.js +3 −1 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/writing-mode/TrackerSelection.spec.js +22 −25 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/writing-mode/TrackerSelection.vue +4 −6 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/writing-mode/WritingMode.spec.js +6 −4 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/writing-mode/WritingMode.vue +6 −7 Go to diff View file