-
Notifications
You must be signed in to change notification settings - Fork 356
Add support for overlaying notification badges on the Windows Taskbar icon. #2443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
t3chguy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we consolidate the setBadgeCount IPC & favicon event handling into one file badge.ts or something to make it clear that they are mutually exclusive?
Did my best with this. There is some overlap still with tray.ts, but I think this is quite clear now. |
t3chguy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sane otherwise
Fixes #762
Requires element-hq/element-web#30315
This uses https://www.electronjs.org/docs/latest/api/browser-window#winsetoverlayiconoverlay-description-windows to add a badge to the taskbar icon on Windows to show how many outstanding notifications there are, or if the client goes offline.
2025-07-14.16-22-20.mp4
Checklist
public/exportedsymbols have accurate TSDoc documentation.