stable
Clone or download
part of story #38263 Choose my own columns based on field name (numeric, text, dates) How to test: - Each error "case" should now have a contextual message before the actual error. For example, if the report cannot be retrieved, the widget will show a translated message saying "Error while fetching the report". - The following error cases should be handled: - fetching the report - fetching the artifacts matching the query - saving the report - exporting to CSV - other cases were already handled. - No other functional change expected with or without the feature flag tuleap config-set feature_flag_enable_tql_select 1 Why? Context can help people facing those errors. It might be "expected" that a network request fails, because the person has no wi-fi at the moment. Change-Id: I8609c36b47a00230f9866acf447ca5f0ddd16d4c
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/scripts/cross-tracker/po/fr_FR.po | +13 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/po/pt_BR.po | +12 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/CrossTrackerWidget.test.ts | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/CrossTrackerWidget.vue | +2 | −1 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/components/ErrorMessage.vue | +28 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/components/ExportCSVButton.test.ts | +1 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/components/ExportCSVButton.vue | +2 | −1 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/components/selectable-table/SelectableTable.test.ts | +1 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/components/selectable-table/SelectableTable.vue | +2 | −1 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/components/table/ArtifactTable.test.ts | +1 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/components/table/ArtifactTable.vue | +2 | −1 | Go to diff View file |
A | plugins/crosstracker/scripts/cross-tracker/src/domain/ArtifactsRetrievalFault.ts | +25 | −0 | Go to diff View file |
A | plugins/crosstracker/scripts/cross-tracker/src/domain/CSVExportFault.ts | +25 | −0 | Go to diff View file |
A | plugins/crosstracker/scripts/cross-tracker/src/domain/ReportRetrievalFault.ts | +25 | −0 | Go to diff View file |
A | plugins/crosstracker/scripts/cross-tracker/src/domain/SaveReportFault.ts | +25 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/reading-mode/ReadingMode.test.ts | +1 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/reading-mode/ReadingMode.vue | +2 | −1 | Go to diff View file |