Closed janagombitova closed 2 years ago
From our discussion during the task planning session, we figured that since the architecture for report generation is changing (see #2544) we will not be sending report generation requests directly to Flow services so generic errors e.g. involving Flow services not being up and running, will not occur.
However, that doesn't mean the GAE platform will always be reachable. So we still need to include error notification, to be implemented as part of a wider pattern to stop using popups and instead have an error notification area within the workspace. (we will handle this in a separate issue #2708)
Regarding the errors that occur when generating a report, we agreed its cleaner to have each error report highlighted within the list rather than above the list as in the mockup above, possibly with a retry button to enable the user to simply request the failed report again.
@janagombitova @Kiarii @stellanl @kymni
If we can be very specific on what caused the error, so Salim knows if he needs to change something in the survey definition or just wait, (could also be in a later iteration) then I think this is a good idea.
@Kiarii can you revise the design based on the discussion we had here above so we can push this issue to implementation? Thanks
me sees the point, however me point of view here was that an error is not a generated report; it is more of a notification if anything. Bunching it up with the reports introduces some confusion incl. the misconception with the timestamp, e.g. does it stand for when an error occurred or when a report was generated and when does it change between the two.. The RETRY we could do on the rhs of the notification as with material Snackbars
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.
Today we released changes where we show an error message in the place of the URL to download the export. I am reopening this issue as it contains further improvements we can and should consider, from UI improvements to what type of errors we can have and how should we show them.
However, Flow poses some limitations (notes from a Zulip conversation):
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.
Context
With #2505 we are introducing a page where Salim will be able to download his generated data exports from, instead of the emails. This change will help us:
Opportunity
With these changes we also want to improve how we communicate to Salim that Flow cannot generate the data file, for one reason or the other. Currently we only say when file generation fails immediately using a pop up message right after Salim hits the Generate button. We do not tell Salim that the generation has stopped because of something "wrong" with the form structure, for example.
When can export generation fail and how quickly does Flow know
Generating a data file can fail for multiple reasons:
~General failure~
~If Flow services is down for some reason, or generating the file fails right away we should show the message directly in the UI, where Salim is. This shows right away after hitting Generate.~
Failure to generate for specific form
If generating the file fails after a few seconds for a specific form related reason, we bring Salim to the Generated exports page and then show a form specific error message. This should hold the form name and reason for failure for Salim knows what he needs to change or adjust to make the export work.
Next steps
What are the reasons for an export to fail?