akvo / akvo-flow

A data collection and monitoring tool that works anywhere.
http://akvo.org/products/akvoflow/
GNU Affero General Public License v3.0
65 stars 31 forks source link

Improve Error Feedback for data import #1304

Closed muloem closed 4 years ago

muloem commented 9 years ago

When exporting or importing raw data reports, we sometimes encounter errors that are not reported clearly to the users and that eventually lead to support requests. e.g when uploading a raw report file to the wrong survey, the message returned is "Spreadsheet processed" leading the user to believe that the file has been correctly processed, which is not the case. For these cases we need to give better feedback.

  1. Uploading a raw report file against the wrong survey
janagombitova commented 6 years ago

We will handle error feedback for data exports here: https://github.com/akvo/akvo-flow/issues/2543 and then this issue can focus on importing (uploading) data via data cleaning

janagombitova commented 6 years ago

Context

Currently Salim downloads a Data cleaning export and then in the Data cleaning tab imports the ready sheet. He has to make sure he selects the folder > survey > form fist. Then he selects the right file and hits import. Flow checks first if the form is selects and if the file type is correct. Then Flow starts importing in the data what can take a few seconds but also 15 minutes depending on the size of the sheet.

screen shot 2018-06-04 at 08 37 36

Currently all success and also all failures of the import are shown to Salim in the messages tab meaning he has to go to another page to learn he selected a wrong file (bad file type, that these was something wrong with the structure of the the sheet or that is actually worked.

Goals

How might we:

@Kiarii can you share the designs you made a while ago and we could pick up this issue in the next weeks. Cheers

Related issues

https://github.com/akvo/akvo-product-design/issues/286 https://github.com/akvo/akvo-product-design/issues/285 https://github.com/akvo/akvo-flow/issues/2192

Kiarii commented 6 years ago

Here are the mockups for the new bulk upload workflow: https://invis.io/6ZGCNU3VSBJ.

Error states for incompatible file types and unknown failure:

screen shot 2018-06-04 at 10 31 26
janagombitova commented 6 years ago

@Kiarii I meant the designs you had for data cleaning import not bulk upload. I remember you had some for cleaning too. But indeed the error logging should follow the same pattern.

Kiarii commented 6 years ago

Oops; here are the wireframes for the Clean data importing: https://invis.io/ZSF1QWAN3#/270245447_1-_Hit_Import

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.