@cjk77 do you also think this is a backwards step?
Like you, I was used to monitoring the number in the tab to watch for new posts without having to click into the tab to look at the forum itself.
I’ll miss the old behavior, but I don’t think it’ll be difficult to get used to the change.
A theme component could make this functionality user tweakable. @david this is another example where it would be nice to have the ability to store user settings per theme on the server.
I’m rather liking both the old and new styles at different times, I wonder if the counts could somehow be combined and simplified somehow…
Possible bug (or setting that I’ve missed?):
One of my members on https://se23.life reported that no count is showing at all in the tab title (apparently this was once working).
I’m not seeing any count showing, despite having unread PMs and new posts in watched topics.
I have tried checking and unchecking “Show new / updated topic count on browser icon” on my user profile. Still no update count.
Is there a setting I need to tweak?
As previously stated in this topic, only notification count will show for logged in users (in the browser tab). If you need to see reply counts then open an incognito tab as an anonymous user.
Should we show the notification count only for “heavy” notifications? (The ones that trigger email/push, like replies, mentions, etc)
I found that changing the window/tab title to show “you got a like” a bit too much.
I don’t want to have to explain the number mismatch, but one thing I do want to confirm @david are green notifications also included in the number ?
I think we can make a theme component to allow users to pick what the number does (all notifications, urgent notifications, new items on page)
Yes they are, it adds green + blue notifications. I borrowed the same logic from @Falco’s PWA badge.
Yeah, I have also found this, but I think a number discrepancy could be even more confusing
We can do, I’ll make some small tweaks to core so that the maths is easy to override, then make a component.
The precise logic is described in the PR description:
On topic list:
- Regardless of focus, browser title shows the count of topics waiting to be loaded (matches the “See N new or updated topic” banner)
- IF tab is in the background, then increment the counter for each new post that arrives
- When focus is restored, reset the counter
Logged in behavior
For logged in users:
- If tab is in the background, and a new notification arrives while the tab is in the background, display the total notification count in the title
- Hide the count when the tab is in the foreground
@ChrisBeach does this line up with what you’re seeing?
Thanks very much @david. I’ll test this out soon and let you know.
I have to agree with @colinl and @cjk77, this is a significant negative enhancement for me. I agree on an active site with a tab open to the topic list seeing the “new posts” isn’t useful, but with a specific topic open I want to know if something has changed within the topic, not an unrelated notification. For me, in many cases these topics are PMs, so loading as anon doesn’t work.
A theme component would be fine with me, but as this stands seeing notification count displayed across 7 background tabs is useless and redundant.
@codinghorror this text is already wrong.
Nuke “Show new / updated topic count on browser icon” and ship to a theme component. (as “show notification count on browser icon” or something… this feature never really worked perfectly)
Nuke “Don’t jump to my post after I reply”, cause the implementation is bust anyway. We can later experiment with a proper implementation in a theme component
Add a drop down for [Display unread notification count in title | Display new / update topic count in title] combo.
So we would be nuking 2 settings and adding 1 new one.
“Display new / update topic count in title” is not quite right. It’s actually
Display new / updated topic count in topic lists, and unseen reply count in topics
But that’s turning into a bit of an essay. I’m struggling to come up with a more concise version… Maybe
Display unread notification count in title
Display contextual counter in title
Also, which option would you like as the default? (Given that most people will never bother to change this).
The current default is fine. Opening fifty bazillion tabs isn’t a common use case.
disable_jump_reply setting which was a fundamentally wrong and only partial broken solution to “allow me to jump to first unread in a topic”.
default_title_count_mode which allows admins to choose the default behavior for the count in the title (either contextual or notification count).
Users can select how the count in the title works per:
The count will be “unseen notification” by default, but they can switch it to “unseen page content” if they wish.
We decided to keep
Show new / updated topic count on browser icon cause many sites amended the default here and the feature is widely used.
Unseen is kinda… bad copy here. I suggest “New” as a simpler alternative.
- New notifications
- New topics / posts
I know it’s not 100% accurate but… nobody cares about that level of accuracy, and “unseen” is going to cause misunderstandings.
Fixing it right now!
You can now choose between the two behaviours in your user settings.