Offline Indicator

AI-generated summary

Offline Indicator Discussion

The conversation started by Falco revolves around implementing an offline indicator in Discourse, similar to those found in Telegram and Mattermost. The proposed feature aims to inform users when they are offline and unable to access the site.

Falco shared a mockup of a potential offline indicator, which consists of a stacked WiFi and slash icon. Justin.noom expressed support for the feature, while codinghorror suggested reusing one of the existing banners, such as the read-only mode banner.

Dannii shared concerns about the current behavior of the site when offline, which can be confusing for users. They suggested that a text banner explaining the site’s offline status would be more effective than a small icon. Falco further explored the idea of reusing the “This site was just updated” popup to display the offline message.

Continuing the discussion from Experimental Desktop PWA works with Discourse!:

From our review site @david brings a valid issue:

https://review.discourse.org/t/feature-make-discourse-work-offline-with-workboxjs-7870/4697/2?u=falco

Telegram have an indicator in the top:

Mattermost does:

image

Maybe something like:

offline
fa-wifi stacked with fa-slash

9 Likes

+1 - would love this feature!

I suggest it might be easier to re-use one of our banners? Like the one for read only mode? This is conceptually fairly similar to that.

5 Likes

This would be a great improvement. My forum currently has some kind of DNS error, but if your service workers are working then the front page will work even though you can’t really do anything except maybe view some pages that were still in cache. And if you click one that wasn’t, then the forum goes spinning, and keeps spinning if you try to go back to the front page. It would be very confusing if you didn’t know the cause.

A text banner explaining the site is offline would be better than an icon you might miss. TBH, this offline mode may be useful in limited situations, but right now I’d prefer it not to load at all.

3 Likes

cc @david @awesomerobot

What you think about re-using the cool new “This site was just updated” popups are annoying here?

Mockup:
image

7 Likes