-
Notifications
You must be signed in to change notification settings - Fork 701
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
Replace favico.js with our simpler solution #100
Conversation
@@ -16,8 +16,7 @@ | |||
<link rel="stylesheet" href="css/style.css"> | |||
<link id="theme" rel="stylesheet" href="<%= theme %>"> | |||
|
|||
<link rel="shortcut icon" href="img/favicon.png"> | |||
<link rel="icon" sizes="192x192" href="img/touch-icon-192x192.png"> |
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 separate icon had to be removed because Chrome has some bizzare logic for selecting icons, and if you update the wrong icon, the notification badge won't be shown at all.
@xPaw, the icon will be changed only when highlighted somewhere or someone talks to you in PM, correct? If so, could you make it red to match the highlight color? :) |
@astorije I'm not a designer, so it was hard enough to get this color 😁 If someone can help, that would be nice. |
Looks good to me, tested on Chrome, Firefox and Chrome on Android with no side effect (apart that this one actually works). 👍 Otherwise, agreed with @astorije, it could be nice to have it red, maybe even bright red for visibility. Thinking something like that: (I'm also terrible at colors) |
Yeah, brighter red would be much nicer. |
That looks better, yes. |
@xPaw, can you integrate @maxpoulin64's version in the PR? |
I will when I when I rebase next time. For now, tell me if there's anything needed to be changed. |
Rebased with red icon. |
Works great on PMs and highlights, love it! Also, good job on getting rid of that library!! A couple thoughts though:
|
As simple as setting
This changes the behaviour and I'm not sure it's for this PR. |
Yep, noticed that too. Will try to fix that now.
Agreed, although it would be really nice if we could improve that behavior soon :-) 👍 and merging! |
Replace favico.js with our simpler solution
Done in #127. |
This gives us greater control over the notification favicon (as it's separate image, we can do whatever we want with it), and removes a 800 line library.
This also makes favicon badges work in Chrome.