# Mark unread 将最新的帖子和通知标记为未读，即使它们无关

**URL:** <https://meta.discourse.org/t/mark-unread-marks-the-latest-post-and-notification-as-unread-even-if-these-are-unrelated/342182>\
**Category:** UX\
**Tags:** mark-unread\
**Created:** [2024年十二月13日 00:51 UTC](https://meta.discourse.org/t/mark-unread-marks-the-latest-post-and-notification-as-unread-even-if-these-are-unrelated/342182 "2024-12-13T00:51:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2024年十二月13日 00:51 UTC](https://meta.discourse.org/t/mark-unread-marks-the-latest-post-and-notification-as-unread-even-if-these-are-unrelated/342182/1 "2024-12-13T00:51:33Z")

</div>

我最近在使用“标记未读”功能时有点困惑。我点击了主题底部的按钮，以便稍后可以返回到它。

起初，一切似乎都如预期般工作：主题被添加到 /unread，侧边栏有一个指示器，并且主题旁边有一个未读计数。但是，我注意到还有一个关于“点赞”的未读通知。

 ![Screenshot_20241213_013137_Firefox](https://global.discourse-cdn.com/meta/original/4X/2/0/e/20e8e39f7d2b92d10bed0e2a70d0b23762af43d2.jpeg)

当我打开主题时，所有的未读指示器都消失了，但关于“点赞”的那个却留下了。

 ![Screenshot_20241213_013256_Firefox](https://global.discourse-cdn.com/meta/original/4X/2/b/5/2b5d92d945c15b3218e6bdefd91abd58d80ef0b8.jpeg)

原来这与五月份的一篇帖子有关：[DiscoTOC - automatic table of contents - #434 by Moin](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/434?u=moin%E3%80%82%E5%85%B3%E4%BA%8E%E2%80%9C%E7%82%B9%E8%B5%9E%E2%80%9D%E7%9A%84%E9%80%9A%E7%9F%A5%E4%B9%9F%E6%98%AF%E5%9C%A8%E4%BA%94%E6%9C%88%E4%BB%BD%E5%88%9B%E5%BB%BA%E7%9A%84%E3%80%82)

 ![Screenshot_20241213_013852_Firefox](https://global.discourse-cdn.com/meta/original/4X/9/c/9/9c9cd7d48ce854b6149c608cf243ac94cfd35aae.jpeg)

“标记未读”应该如何工作？它应该将主题的最后一篇帖子标记为未读吗？它应该将最新的通知标记为未读吗？如果两者都与同一篇帖子有关，例如因为你在最新帖子中被提及，那么两者都应该发生吗？如果通知是关于你六个月前写的帖子并且收到了点赞，那么两者都应该发生吗？

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2024年十二月13日 14:51 UTC](https://meta.discourse.org/t/mark-unread-marks-the-latest-post-and-notification-as-unread-even-if-these-are-unrelated/342182/2 "2024-12-13T14:51:51Z")

</div>

我一直是 \u003ckbd\u003eDefer\u003c/kbd\u003e（它以前的名字 😅）的忠实用户，这个奇怪的现象一直困扰着我。

每当主题中有提及/引用/分配（或任何会触发通知的操作）时，当你点击“标记为未读”时，它会重新触发 🙁

我快速看一下 👀

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2024年十二月13日 15:32 UTC](https://meta.discourse.org/t/mark-unread-marks-the-latest-post-and-notification-as-unread-even-if-these-are-unrelated/342182/6 "2024-12-13T15:32:58Z")

</div>

意识到这_确实_是一个功能 😅

将主题标记为未读将重新触发该主题中的[上次通知](https://github.com/discourse/discourse/blob/f6a4de480560e5983ecaef6fcc3a6a5c5240a5c3/app/controllers/topics_controller.rb#L335-L342) 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2024年十二月13日 15:37 UTC](https://meta.discourse.org/t/mark-unread-marks-the-latest-post-and-notification-as-unread-even-if-these-are-unrelated/342182/8 "2024-12-13T15:37:08Z")

</div>

那我把它移到 #Contribute > Feature 频道，并请求排除点赞吗？

（而且应该有人去告诉 ask.discourse，这是一个功能 🙂 ）
