离线指示器

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

From our review site @david brings a valid issue:

Telegram have an indicator in the top:

Mattermost does:

image

Maybe something like:

offline
fa-wifi stacked with fa-slash

9 个赞

+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 个赞

这将是一个巨大的改进。我的论坛目前出现了某种 DNS 错误,但如果您的服务工作者(service workers)正常运行,即使您除了查看缓存中的页面外无法执行任何操作,首页仍应能正常显示。如果您点击了未缓存的页面,论坛就会陷入无限加载状态,即使尝试返回首页也会持续旋转。如果您不了解原因,这会非常令人困惑。

用文字横幅说明网站已离线,比一个可能被忽略的图标更好。说实话,这种离线模式在某些有限情况下可能有用,但目前我更希望它完全不加载。

3 个赞

cc @david @awesomerobot

你们觉得在这里复用那个很棒的新的“‘本站刚刚更新’弹窗很烦人”主题怎么样?

示意图:
image

7 个赞