Chat unread message count in browser tab has an ambiguous relationship to a user's preferences

AI-generated summary

a_lilian reports that the unread message count displayed in the browser tab for Chat does not respect the user’s preference setting for “activity indicator in header,” which currently only affects the chat icon’s bubble indicator. Although the setting technically works as designed, a_lilian suggests users likely expect the browser tab counter to be controlled by the same preference, given its high visibility. zogstrip asks if the Discourse instance is up to date, noting recent improvements to Chat presence support by @sam. a_lilian confirms they are hosted by Discourse, implying they’re on a recent version. The core issue is a mismatch between user expectations and current behavior: users configuring “activity indicator” preferences likely intend to suppress all visible indicators — including the browser tab counter — not just the header icon’s bubble.

At the moment if I have a chatroom full-screened inside a browser tab, my tab gets updated with an unread message count:

unread message count in Chat browser tab

In User Preferences > Chat, there’s an option that allows a user to define granular rules for an “activity indicator in header” for the Chat plugin.

Right now, the unread count in the browser tab doesn’t reflect my choice for this setting, i.e. I can choose “never” and still get a count that increments for every unread message in the chatroom.

My guess is that activity indicator in header is referring to the little bubble you get on the chat icon itself:

and in that sense I’m pretty sure that the setting is technically working as intended.

That being said, my guess would be that a user digging into their preferences to define a rule for an “activity indicator” is probably hoping to hit the counter in the browser tab too, considering that’s a relatively high-visibility way that the Chat plugin indicates activity.

1 Like

How up to date is your discourse? @sam very recently made some improvements by bringing “presence” support in chat.

2 Likes

We’re hosted with you all right now, so pretty up to date I’d have to imagine!