akvo / akvo-product-design

Products Design Documents
GNU Affero General Public License v3.0
12 stars 9 forks source link

Improve on Flow online space notifications #285

Closed muloem closed 6 years ago

muloem commented 7 years ago

The online workspace has a number of notifications that are currently presented under the Messages tab. This is less than ideal because one has to visit the tab to see the notifications and to constantly refresh this tab every time there is a new notification. This has to be redesigned to support push-style notifications.

janagombitova commented 6 years ago

Context

As mentioned in the message above, a lot of notifications are shown to the users in the Messages tab. These notifications inform the users about tasks Flow runs in the backend and if they succeed or fail. The Messages tab is a separate tab in Flow. The messages are currently organised in a table with the latest message on the top.

screen shot 2017-12-21 at 10 54 02

Why? What is the purpose/value?

Some tasks take long to complete in Flow and thus to not have to have the user stuck on the page waiting, we allow him to do other tasks while Flow is completing the other one. Once done the user is informed.

Who?

The users looking at the messages are the ones running the tasks the messages show for. So it is usually Salim or Petra after finishing a survey for data collection, or a cascade, or when importing in data etc.

What tasks take longer to complete but Salim needs to know the result?

This list does not imply that these tasks are now handled by the Messages tab, or that they should be handled by the Messgaes tab. They are just to list down actions where the direct feedback is not so direct in Flow currently. Here is the list:

Current issues

This set up has many issues:

What messages we currently show in the messages tab?

What Type Current message Useful to users?
Every submission made from an device connected to the instance fileProcessed [zip file ID].zip processed - Surveys: [form ID] no
Bulk upload data fileProcessed [zip file ID].zip processed - Surveys: [form ID] no
Bulk upload data bulkUpload File: [zip file ID].zip processed yes
Copying survey completion copySurvey Copying from Survey 232429116 (1.9.26 all questions) completed yes
Publishing of a survey is completed surveyAssembly Published. Please check: [urls to the xml file] yes
Failed to import cleaned data importData Invalid RAW DATA file: [file name] - [error] yes
Data cleaning import completed spreadsheetProcessed Spreadsheet processed yes
Failed to import in new data via data cleaning importData Invalid RAW DATA file: [file name] [error] yes
Success to import in new data spreadsheetProcessed Spreadsheet processed yes
Importing a cascade cascadeImport Successfully imported csv file [file name] yes
Publishing a cascade cascadePublish Cascade resource [name] - Cascade successfully published yes

Opportunity

Things to consider:

Guiding principles

Related issues

We have decided to show errors when importing in a cleaned data sheet or new data via data cleaning directly in the page and not in the messages tab. Thus there messages will be removed from the messages tab and shown in Data cleaning. See issue here: https://github.com/akvo/akvo-product-design/issues/286

janagombitova commented 6 years ago

Linked to issue in Flow's repo