Suggest Modification to "Updated Topic" Count Notification

AI-generated summary

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 ですが、修正が非常に難しいバグです。

オプション1:

  • 現在のユーザーオブジェクトが、ミュートしたトピックをすべて追跡し、メッセージを受信するたびにそのリストと照合する(負荷が高すぎる)

オプション2:

  • メッセージバスが、トピックをミュートしたユーザーをすべて更新から除外する(ミュートした人が10人程度なら問題ないが、10000人ミュートしていたら大惨事)

オプション3:

  • メッセージバスの更新後に追加のAjaxリクエストを送信し、メッセージバスから取得したデータを「再確認」する(悪影響が最も少ないが、通信量が増加する)

この問題を簡単に解決する方法は思いつかず、妥協点を探るしかないですね :mountain:

「いいね!」 5