Notify user of new messages via document.title
See original GitHub issueIRCCloud does this well - they prepend a (+)
to the document.title
when there are unread messages in the open buffer when the tab isn’t focused.
https://github.com/erming/shout/pull/348/ tried to accomplish this in Shout.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:24 (23 by maintainers)
Top Results From Across the Web
Notify user of new messages via document.title #1311 - GitHub
Notify user of new messages via document.title #1311 ... Type: Feature Tickets that describe a desired feature or PRs that add them to...
Read more >How to build a Flash Title Notification with JavaScript
Flash titles are very useful to alert the user of their new notifications when they are away on another website, and in this...
Read more >How to alert in title bar of browser on receiving a new message?
Modify document.title (by assigning new values to it) repeatedly using ... To detect if the user has switched to other tab, use this...
Read more >Get notified when members of your team update your shared file
To open it, just click the document title on the title bar at the top of the window, and select Version History. The...
Read more >Notifications - System experiences - Human Interface Guidelines
If you can only provide a generic title for a noncommunication notification — like New Document — it can be better to let...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
More discussion on the IRC. The quick answer to @xPaw is “all of them”, but there’s a longer answer down below. We discussed a lot about it.
Those of us in the discussion (me, fnutt, and xpaw) agreed that we would all be happy with a solution that had 3 favicons and didn’t change anything with how the title currently works. The 3 favicons would be:
Current standard favicon: when there are unread messages but no highlights/queries Current highlight favicon: when there are highlights/queries A new favicon (possible monochrome version of the standard one): when there are no unread messages or highlights/queries
This would mean that there was no effective change in functionality to people who have a lot of channels, but for those who like to keep their irc constantly clean of unread messages, there is a visual difference in the favicon between those states.
Please correct me if I misunderstood what we agreed, and let me know other people if you think that’s not a good idea. @astorije , would we be able to contact the designer to see what they think about this, and whether or not a monochrome favicon would work for this.
I really like this solution as it fixes the feature for what I want, but also it doesn’t mean that anyone else has something staring them in the face if they always have unread messages. This feels like the best of both worlds.
Messages in the discussion below:
When you say unread messages, do you mean active channel or all of them?
I think doing it for all channels would be madness, but doing it for active (out of focus?) channel could be neat and is what the original issue was about.