Unread guide

Unread state

Filter the thread list with unread when you want the badge view. That filter runs before the page of 50. Opening the list does not clear badges.

The widget calls markRead with visibleSeq set to the highest comment sequence actually rendered. If the thread's activitySeq is 5 and the viewer has rendered through seq 4, send 4. A value above activitySeq is clamped. The marker never moves backward.

Example: other people wrote five comments and this viewer's readSeq is 0, so unreadCount is 5. Their own reply makes activitySeq 6 and leaves readSeq at 0, so their badge stays 5. Other viewers who have not opened the thread stay unread, including the new reply. An edit does not add a badge. Deleting the last unread comment from someone else clears the badge without moving readSeq.

Background poll and SSE refresh the rows. They do not mark read. A hidden tab pauses polling. When the viewer comes back and the thread is open, the widget marks only what is on screen.

Reference: unread.

Related: Threads and updates · Adapter · Resolution