endlessm / kolibri-explore-plugin

The kolibri plugin to add the custom channel representation
MIT License
2 stars 4 forks source link

Content management: consider offline if Kolibri Studio isn't reachable #617

Open manuq opened 1 year ago

manuq commented 1 year ago

It has been noted that the offline check we have in place is weak. We currently use it in the onboarding for disabling download option and in the landing page for disabling the feedback button. But there are more uses coming for content management: download content should be scheduled for later if the app is offline https://github.com/endlessm/endless-key-content-private/issues/17#issuecomment-1551338721

The way we do it is by listening to the browser offline event.

The Kolibri Device tab does it by checking if Kolibri Studio is reachable. That seems a better approach for or own content management, which uses Studio too.

manuq commented 1 year ago

I'm deassigning myself from this one too.