zulip-desktop
zulip-desktop copied to clipboard
Tray icon should probably include Zulip logo even with unread messages
I think it could be worth modifying this icon to look more like the Zulip favicons, with the unread count in the corner over a clear Zulip logo:

There are two methods to achieve this -
- a) Re-use all the favicons from https://github.com/zulip/zulip/tree/master/static/images/favicon and depending upon the unread counts use them in iconPath.
- b) Currently we create the canvas using the unread counts which look like this -

Re-using the code from this PR we can include the Zulip logo in the same canvas.
One more thing to note here that the canvas image cannot be used a Icon for tray, so we will have to use nativeImage module provided by electron for sake of ease.
@cPhost we do pass this canvas image in nativeImage module, see here.
I think we can do the first method, i.e. Re-use all the favicons from depending on the number of unread messages. If that's ok, I would like to work on this.
@abhigyank not really its not that simple ie considering diffrent icon size we have to consider for diffrent os's they look kind of blurry, we are currenly trying to solve it.
WIP in - https://github.com/zulip/zulip-electron/pull/385 and tray-icon. We are considering both the options but as Priyank said it's not kind of tricky to make the icon look good on all the platforms.
If this issue is still open,please assign it to me