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.
إنها مشكلة #مساهمة:bug، لكنها مشكلة معقدة للغاية في الإصلاح.
الخيار 1:
يحتفظ كائن المستخدم الحالي بتتبع كل المواضيع التي تمت mute لها، ثم عند استلام الرسائل نقوم دائمًا بالتحقق المزدوج ضد القائمة (ثقل في الأداء)
الخيار 2:
يستبعد Message Bus جميع المستخدمين الذين قاموا بـ mute الموضوع من التحديث (مناسب إذا قام 10 أشخاص فقط بـ mute الموضوع، لكنه كارثة إذا قام 10000 شخص بـ mute الموضوع)
الخيار 3:
إضافة طلب ajax إضافي بعد استلام تحديث من Message Bus يقوم بـ “التحقق المزدوج” للبيانات التي حصلت عليها من Message Bus. (أقل الضرر، لكنه يزيد من حركة المرور بشكل كبير)
لا يمكنني التفكير في طريقة سهلة لإصلاح هذا الأمر، إنه مجرد مساومة