You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an error is encountered, a Status (aka toast/growl) message is flashed in the status bar. A good UX principle is not just to tell the user what happened ("Frobnicator failed to materialize") but to tell them what to do ("Please click the "refrobnicate" button"). However in some cases, the remedy we have suggested is not correct or doesn't cover all edge cases, and needs to be adjusted - mostly in the case of download failures. For example:
Here we tell the user "download failed, please try again" , but trying again isn't always the right answer - this message could be triggered, for example, if a user starts downloading a file for a source but then changes their mind and deletes the source (#2217).
Options:
Do some fancy checking when a download fails, and if the source is no longer in the database, display a message that a download failed to complete and it's probably because the source was deleted at the server. Else display the "download failed, try again" message. (more logic, but better ux)
Simply say "a file download failed" (less logic, less clear ux)
Worth checking our other failure messages to make sure the suggested action is appropriate for all scenarios in which the error state could occur.
The text was updated successfully, but these errors were encountered:
When an error is encountered, a Status (aka toast/growl) message is flashed in the status bar. A good UX principle is not just to tell the user what happened ("Frobnicator failed to materialize") but to tell them what to do ("Please click the "refrobnicate" button"). However in some cases, the remedy we have suggested is not correct or doesn't cover all edge cases, and needs to be adjusted - mostly in the case of download failures. For example:
securedrop-client/client/securedrop_client/logic.py
Line 986 in 0d7ef59
Here we tell the user "download failed, please try again" , but trying again isn't always the right answer - this message could be triggered, for example, if a user starts downloading a file for a source but then changes their mind and deletes the source (#2217).
Options:
Worth checking our other failure messages to make sure the suggested action is appropriate for all scenarios in which the error state could occur.
The text was updated successfully, but these errors were encountered: