# 当用户尝试编辑时警告他们已离线

**URL:** <https://meta.discourse.org/t/warn-users-they-are-offline-when-they-attempt-to-edit/264117>\
**Category:** UX\
**Created:** [2023 年5 月 7 日 07:31 UTC](https://meta.discourse.org/t/warn-users-they-are-offline-when-they-attempt-to-edit/264117 "2023-05-07T07:31:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![jidanni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidanni/32/291938_2.png) [@jidanni](https://meta.discourse.org/u/jidanni)\
发布日期： [2023 年5 月 7 日 07:31 UTC](https://meta.discourse.org/t/warn-users-they-are-offline-when-they-attempt-to-edit/264117/1 "2023-05-07T07:31:00Z")

</div>

用户提交了编辑，为什么加载图标一直在转动？

 ![Screenshot_20230507_151612_Chrome Beta](https://global.discourse-cdn.com/meta/original/4X/e/0/6/e065c5726541a4c27720d72c0b1435de0ea39f77.jpeg)

哦不，他错过了屏幕顶部这个关键信息：

 ![Screenshot_20230507_152127_Chrome Beta](https://global.discourse-cdn.com/meta/original/4X/0/4/3/043b263b673538f3702d6b7360385e30c20f20ef.jpeg)

他想：“要是有个提示告诉我点击编辑按钮时我处于离线状态就好了。那样我就不会费力编辑了。我会等到火车到最后一站，然后获取文章的最新版本，再进行回复！”

是的，在用户开始编辑时就提醒他们。而不仅仅是在保存编辑时。

是的，你可能会说，“这不是 bug。事实上，这根本不是问题。当用户恢复网络连接时，它就会被发布。所以别为此烦恼。”

我只是说，让用户知道他们离线了，他们会感谢你的。就像在你开支票之前知道自己钱不够花一样，即使周二你会有更多的钱。

另外，在我的测试中，即使我已经恢复在线，加载图标仍然在转动。所以没有保证……

当然，我们可以责怪用户忽略了页面顶部的“细则” ~~页面~~ 浏览器。但他也忽略了页面上几乎所有的细则，除了最底下的第 20 项，也就是他正在编辑的内容。

---

_[View the full topic](https://meta.discourse.org/t/warn-users-they-are-offline-when-they-attempt-to-edit/264117)._
