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
Improved old icons #11190
Improved old icons #11190
Conversation
Thanks for the PR! Feedback:
I'd say it's still relevant, but maybe the code below won't be useful / executed anymore as you seem to have converted all icons away from gif? If that's the case you could maybe try remove the code (or we can leave it as a fail safe in case icons in gif are later added) |
What is the reason behind having a wrong file extension for png files and as a result sending the wrong mime type to the browser. <link rel="icon" type="image/png" href="/plugins/CoreHome/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/plugins/CoreHome/images/favicon-16x16.png" sizes="16x16">
I'd just keep it there. |
Would be great to do remove our favicon.ico completely and do it properly with png files as you suggest 👍 |
Keep in mind, we are allowing to change the favicon by uploading one. If we
now use two with different sizes, maybe that logic needs to to be adjusted,
as well.
|
@sgiehl you are right, I forgot about this possibility. I assume there is no way to generate multisize ico files in Piwik, so maybe it's really best to drop the .ico so it can't interfere with the custom favicon. (Which would have to be rewritten to generate the correct png files). |
Could the project from @chrisbliss18 be of help here? |
I'll update the integration test so it does not check the format of favicon.ico. Merging now, Thanks @Findus23 for the PR! |
While looking through the UI icons I found the following improvements: (#11177)