# 在用户键入内容之前，将“保存编辑”按钮设为灰色

**URL:** https://meta.discourse.org/t/have-the-save-edit-button-grey-until-the-user-has-typed-something/271831
**Category:** UX
**Created:** [2023 年7 月 17 日 09:40 UTC](https://meta.discourse.org/t/have-the-save-edit-button-grey-until-the-user-has-typed-something/271831 "2023-07-17T09:40:50Z")
**Posts on this page:** 3
**Page:** 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 年7 月 17 日 09:40 UTC](https://meta.discourse.org/t/have-the-save-edit-button-grey-until-the-user-has-typed-something/271831/1 "2023-07-17T09:40:50Z")

</div>

您知道“保存编辑”按钮，  
 ![20230717T043333](https://global.discourse-cdn.com/meta/original/4X/1/f/b/1fb51335e7187110c91ca4d9017cf05b8652d079.jpeg)  
如果直到有内容可保存时它才变成灰色，那就太好了。

也就是说，用户应该得到反馈，看看他是否真的编辑了任何内容。

（请记住，我们讨论的是一个包含用户即将修改的先前文本的缓冲区。而不是一个空缓冲区。）

您可能会说“他为什么需要知道这一点？”

嗯，这都是用户体验反馈循环的一部分……用户需要知道，例如在使用 CTRL+Z 撤销时，他是否已恢复缓冲区的原始状态等等。相信我。就像在旧的（回退）时代一样。

现在，“+创建主题”按钮更复杂。（不是“+新主题”，那是另一个按钮。）

在这里，用户需要一个有效的标题以及一些内容，然后才能成功单击它。所以我不太确定它何时应该变为非灰色。

---

<div class="post-metadata">

### 作者： ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### 发布日期： [2023 年7 月 17 日 09:45 UTC](https://meta.discourse.org/t/have-the-save-edit-button-grey-until-the-user-has-typed-something/271831/2 "2023-07-17T09:45:59Z")

</div>

我认为您之前已经创建了一个关于此的帖子：

> [@Blue preference Save Changes button should be gray initially](https://meta.discourse.org/t/blue-preference-save-changes-button-should-be-gray-initially/254207):
>
> In Preferences this button should be gray, up until the time there is something actually to be saved. Only then should it become blue. [Screenshot\_20230206- 225051\_1] Then after saving successfully, it should become gray again. Currently the user’s eyeballs completely depend on looking for that word “saved” next to it. Yes keep the word, but fix, I mean enhance, the button. Thanks.

---

<div class="post-metadata">

### 作者： ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### 发布日期： [2023 年7 月 17 日 09:48 UTC](https://meta.discourse.org/t/have-the-save-edit-button-grey-until-the-user-has-typed-something/271831/3 "2023-07-17T09:48:37Z")

</div>


