Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Mateusz KwiatkowskiMateusz KwiatkowskiReporter
Nick ReidNick Reid(Deactivated)Story Points
2Original estimate
Time tracking
1d 5h 30m loggedComponents
Sprint
NoneFix versions
Priority
Major
Details
Details
Assignee
Mateusz Kwiatkowski
Mateusz KwiatkowskiReporter
Nick Reid
Nick Reid(Deactivated)Story Points
2
Original estimate
Time tracking
Components
Sprint
None
Fix versions
Priority
Time Assistant
Time Assistant
Time Assistant
Created November 22, 2016 at 7:08 PM
Updated March 1, 2017 at 12:32 PM
Resolved February 28, 2017 at 10:15 AM
If a user tries to load data while offline, there should be an alert notifying the user they are offline.
Overall the experience is that if a user takes an action that starts a HTTP request to a OpenLMIS Server URL (or external URL) while they are offline, an Alert modal will open that reads "This action can't be completed while offline." with a button that says "OK".
The HTTP requests will be cancelled/rejected/failed if the user is offline, and there will be no attempt to re-try the action.
Since some actions might run multiple http requests at the same time, there should be some code to make sure only a single Alert is shown to the user.
This is an experiment to see if this can be an acceptable fallback experience, so a quick first draft is ideal.
Acceptance Criteria
A logged in user is on a administration page, they go offline after the administration page has loaded, then click the save/submit button on the administration page — an alert modal is shown, telling the user that their action can't be completed offline.
Only one offline alert modal is shown to the user at a time.