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

**URL:** https://meta.discourse.org/t/warn-users-they-are-offline-when-they-attempt-to-edit/264117
**Category:** UX
**Created:** [2023年五月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:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jidanni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidanni/32/291938_2.png) [@jidanni](https://meta.discourse.org/u/jidanni)
#### Post date: [2023年五月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 项，也就是他正在编辑的内容。

---

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [2023年五月7日 07:55 UTC](https://meta.discourse.org/t/warn-users-they-are-offline-when-they-attempt-to-edit/264117/2 "2023-05-07T07:55:56Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/9/9/5/9954732511388134265204fbd6c03769365a9eea.png)  
这难道不是一个已有的功能吗……？

---

<div class="post-metadata">

### Author: ![jidanni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidanni/32/291938_2.png) [@jidanni](https://meta.discourse.org/u/jidanni)
#### Post date: [2023年五月7日 08:13 UTC](https://meta.discourse.org/t/warn-users-they-are-offline-when-they-attempt-to-edit/264117/3 "2023-05-07T08:13:53Z")

</div>

不，绝对，百分之百，不知道，除了屏幕顶部的浏览器提供的信息外，

 ![Screenshot_20230507_160548_Chrome Beta](https://global.discourse-cdn.com/meta/original/4X/6/5/e/65e4e56bc9c2f9920d21b74db15b7a123bebed9c.jpeg)

等等，我感觉有点不安，我对我的键盘感到不安。人们的键盘下面通常有什么？通常是一些灰尘和一些扎带之类的东西。好吧，让我们来看看……

 ![Screenshot_20230507_160603_Chrome Beta](https://global.discourse-cdn.com/meta/original/4X/a/3/5/a3574320db20e71193fa17a379b6cbe671ea3c38.jpeg)  
果然！右下角有一个奇怪的红色三角形。

我们点击它，什么也没发生。但它还在那里，妈妈，这又都是我的错。

好吧，它不能放在一个更能保证被注意到的地方吗？事实上，整个草稿缓冲区都可以变成红色，上面写着“福尔摩斯，你离线了”。
