Suggest Modification to "Updated Topic" Count Notification

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 лайков