Number of unread replies is different than number of topic replies due to reply deletions

Right now I have this topic where i’m shown 155 unread replies, but in the replies column i can only see 3.

Not sure how this should be changed in discourse, but those 2 numbers are very different and 155 is misleading since all the replies were deleted. Would it make sense to not show the “number of deleted replies” when counting the “number of unread replies” ?

8 Likes

We have had this reported a few times before, it is fiendishly hard to fix.

If a large number of posts are deleted then unread count is artificially incredibly high. We could I guess do a client fix that caps numbers but it just replaces imperfect with more imperfect.

Problem with counting deleted replies is that there is no cheap way of do it. You may have read 17 of the 32 deleted replies.

8 Likes

I’m talking out of my ass here, but would it make sense to not count any deletion?

Basically ignore anything that’s deleted, and
count normally all the new replies.

Saying this since really, there’s nothing new for me to read there, and that’s why in on a forum (to read/reply = discuss).

Or maybe that add artificial deleted count could be set to 1 (hard cap), so that I’m notified there’s something changed?

1 Like

Thing is on the topic list we do not count anything. We know the user read up to post number 5 and that post number 20 is the last post

We have to avoid counting, counting is expensive it means we have to visit every post

7 Likes

Just fell for this again

1 Like