-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Electron Tray Improvements #3909
Conversation
DRY: moved Favicon stuff into the base platform Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
Signed-off-by: Michael Telatynski <[email protected]>
someone was just asking for this in HQ... @dbkr, feel free to reassign this if you don't have PR review bandwidth |
Hey @t3chguy can you make the notification count badge showing also in Windows taskbar icon like this?: |
Signed-off-by: Michael Telatynski <[email protected]>
@SiwyPL spróbuję |
LETS MAKE IT CLEAR WE ARE NEEDY AND WANT ATTENTION Signed-off-by: Michael Telatynski <[email protected]>
also improve favicon updating to not change if we're same as previous not sure how intensive the nativeImage stuff is but cheap efficiency For FLASH FLASH I moved the setBadgeCount stuff RPC -> IPC should be more reliable now, its in electron-main Win only: if mainWindow is set and is not in focus make it FLASH clear flash if notification gets cleared elsewhere debounce focus handler so we don't set a million of them if the app is backgrounded a while Signed-off-by: Michael Telatynski <[email protected]>
oh maaan thanks, that was quick |
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.
This looks super awesome, thanks! Sorry for not getting to review this sooner.
No worries @dbkr - clear how busy you've been recently :) |
supersedes #3835
thus for #3554
make Electron Tray icon mimic the Favicon (has notifications count badge)
make Electron Tray Tooltip mimic document.title (has info like [offline])
add electron_app to .gitignore, missed it when renaming
tidy up tray.js
move Favico.js stuff into VectorBasePlatform as now Electron uses it too, no point doing the generation in the other process as that just means the electron package will have two copies of the library.
Screenshots below shows favicon still working on WebPlatform, and the tray icon behaviour too: