Enhancement
Offline availability through PWA
Issue description
It should be possible to use a store offline and to enter data offline.
Developer comments
The [https://love2dev.com/serviceworker/development-best-practices/, best practises] of Chris Love are very helpful.
I currenly do not see real necessity to provide offline support for everyone unasked. It is an online datbase after all. Only for certain user groups in certain stores this makes sense. Hmm. On the other hand the footprint of the generic support is most likely small. Maybe a combintation will do.
The work flow should be as follows:
*Prepare offline work*: the user sinals that the network might become unavailable during this session. Topincs sets up the service worker and downloads the generic and the specific resources. This step could be avoided with general unasked offline support.
During the offline work, the user can create new instances and possibly edit existing ones. The form data will be stored offline. At any time he can revisit the existing form, either through a generic sync page or within his normal work flow.
*Synchronize*: this is *not* done in the background. The user will open the generic sync page and a button Synchroize will be active when the network is present. The synchroization uploads all data to the server. After this the sync page is empty, except when a form had errors. These forms will have to be revisited.
All measures should work independently from each other and fall in place when necessary. Ideally seamlessly.
|
Work sessions4
Start |
2021-09-10T13:52:09
|
End |
2021-09-10T15:44:28
|
Participant |
Robert Cerny
|
Start |
2021-09-12T12:45:15
|
End |
2021-09-12T13:41:25
|
Participant |
Robert Cerny
|
Start |
2021-09-15T08:00:00
|
End |
2021-09-15T11:00:00
|
Participant |
Robert Cerny
|
Start |
2021-09-19T09:01:53
|
End |
2021-09-19T11:03:48
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.