Hi everyone o/
As we move into a more mobile world, we need to ensure that the Funkwhale web app/PWA can handle network disconnects more gracefully. To address this, we want to define the behavior of the app when the network disconnects/reconnects so that we offer the best possible experience to users. This includes the following:
- Accurately detecting when the device goes offline
- Informing the user that their device has gone offline/come back online
- Making it clear in the interface what can be used in offline mode
- Storing playback position/radio sessions to resume when the device comes back online
- Caching essential information for offline use
- Gracefully handling requests for refreshed tokens on reconnect so the user can make requests immediately
Check out the proposed spec here: https://dev.funkwhale.audio/funkwhale/funkwhale/-/wikis/specs/offline_mode