-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Add support for Apple touch bar icons #6768
Conversation
Oh cool I didn't know this was a thing, good info in https://medium.com/swlh/are-you-using-svg-favicons-yet-a-guide-for-modern-browsers-836a6aace3df (not tested yet) |
What's the favicon used on pages not using |
Do you have a view or example page at hand for this case? The pages I viewed use the replace favicon fine. |
A simple (but perhaps not that relevant) example in current core might be directly accessed help pages, like https://ci.jenkins.io/help/system-config/homeDirectory.html |
This page picks up the favicon replacement fine.
No favicon here. I didn't know about this page before, but it looks quite ancient. |
Those pages are just the help pages themselves that are displayed inline, you can directly access them via URL. |
I'm not going to look for a plugin that renders some pages without This PR, for no reason at all, makes the UI worse in some (rare) situations. Why is that not enough? |
Out of curiosity, where do RSS feeds get their favicon from? |
I restored the .ico type browsers will pick up in such a case or if they don't support svg favicons yet. |
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 like these would also need restoring?
IIRC, the favicon.ico is allowed on resource root URL so that browsers that request it don't spam all possible logs with errors (and would apply to plain text files etc. as well). That got annoying quickly.
Co-authored-by: Daniel Beck <[email protected]>
Co-authored-by: Daniel Beck <[email protected]>
I committed your suggestions, are there outstanding concerns left? |
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 PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback. Please see the merge process documentation for more information about the merge process. Thanks!
Since jenkinsci/jenkins#6768, there is an "alternate icon" element that needs to be removed as well.
* Fix favicon support in Chrome with Jenkins 2.367 and later Since jenkinsci/jenkins#6768, there is an "alternate icon" element that needs to be removed as well. * Simplify --------- Co-authored-by: Tobias Gruetzmacher <[email protected]>
Adds support for Apple's touch bar icons and drops obsolete
shortcut
tag, as per the MDN docs.Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgrade@Restricted
or have@since TODO
Javadoc, as appropriate.@Deprecated(since = "TODO")
or@Deprecated(forRemoval = true, since = "TODO")
if applicable.Desired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are accurate, human-readable, and in the imperative moodupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).