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.

إنها مشكلة #مساهمة:bug، لكنها مشكلة معقدة للغاية في الإصلاح.

الخيار 1:

  • يحتفظ كائن المستخدم الحالي بتتبع كل المواضيع التي تمت mute لها، ثم عند استلام الرسائل نقوم دائمًا بالتحقق المزدوج ضد القائمة (ثقل في الأداء)

الخيار 2:

  • يستبعد Message Bus جميع المستخدمين الذين قاموا بـ mute الموضوع من التحديث (مناسب إذا قام 10 أشخاص فقط بـ mute الموضوع، لكنه كارثة إذا قام 10000 شخص بـ mute الموضوع)

الخيار 3:

  • إضافة طلب ajax إضافي بعد استلام تحديث من Message Bus يقوم بـ “التحقق المزدوج” للبيانات التي حصلت عليها من Message Bus. (أقل الضرر، لكنه يزيد من حركة المرور بشكل كبير)

لا يمكنني التفكير في طريقة سهلة لإصلاح هذا الأمر، إنه مجرد مساومة :mountain:

5 إعجابات