Suggest Modification to "Updated Topic" Count Notification

AI 生成的摘要

A user, mblatz, reported an issue where the “Updated Topic” count notification includes muted topics, causing confusion. codinghorror confirmed this as an annoying problem that has been reported before. sam classified it as a bug, but a challenging one to fix. Three possible solutions were proposed:

  1. Track muted topics for each user, but this approach is resource-intensive.
  2. Exclude users who muted a topic from the update, which may cause issues with large numbers of muted users.
  3. Make an additional AJAX request to double-check the data, which would increase server chatter but is considered the “least evil” option.

Hello. I am a Discourse user on another private forum. I noticed that even though I may have muted some topics, if those topics are updated they are still then reflected in the count displayed in the notification at top of forum that tells a user “[count] new or updated topics. Click to show”. This leads to the situation where clicking may (and often does for me and others) show nothing different that what was previously listed. Sometimes a bit confusing…

If this feature is working as intended, please disregard. If it makes sense that this count should only reflect new and un-muted topics, but not muted ones, please consider an appropriate modification.

3 个赞

Yes, this is indeed annoying, has been reported before.

这是一个 Contribute > Bug(贡献:Bug),但一个超级棘手的 Bug,很难修复。

方案 1:

  • 当前用户对象会记录你静音的所有话题,然后当我们收到消息时,始终与列表进行双重检查(开销太大)

方案 2:

  • 消息总线从更新中排除所有静音该话题的用户(如果只有 10 个人静音了它,还可以接受;但如果 10000 个人静音了它,那就是灾难)

方案 3:

  • 在我们收到消息总线更新后,额外发送一个 AJAX 请求来“双重检查”从消息总线获取的数据。(危害最小,但会显著增加网络流量)

我想不出什么简单的方法来修复这个问题,这只是一个妥协 :mountain:

5 个赞