-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Please update octicons from 3.1.0 to 6.0.1 #36053
Comments
Unfortunately not so easy because some octicons have been removed and hence updating might likely break some extensions that rely on them |
Is there a plan going forwards with this? I just tried to use an octicon and it came up blank. I couldn't work out why until I checked the versions being used, which led me here. From the change log, it looks like some of the removed icons are just renamed. Would it be possible to add a simple 'redirect' to return the new icon if the old name is used? Similarly, if an icon has genuinely been removed, could a placeholder be returned? In fact, it would probably be nicer to return something if a bad icon is named, rather than leaving a blank space. |
Hm... Do you have a pointer/release notes that describe these changes? |
I was just looking through here: |
Yeah, so I believe we would miss two icons and we might wanna risk that... For the other we have alternatives in place... No promises, stretch for June (also accepting PRs) |
Great - thanks! |
So, this would be the compat table and the good news is that no extension seems to use those three removed icons. The bad news is that octicons are now shipped as npm module which we cannot consume at the level at which we define the
|
@jrieken we already have all the octicon resources checked in to our sources, so why is the fact that Octicons now ship as an NPM module an issue for us moving forward? Can we not just do the same? |
Yeah, copying the node-module isn't the blocker, tho weird, the issue is more that it's not a font anymore but 150+ svg-files which we need to bundle in a clever way. |
Maybe @misolori has an idea on how to do that. I wonder if we can convert the set back to a font so that it is easy for us to consume it as we did before. |
@chryw and I talked about how to convert the new svgs back into an icon font. We'd need to setup a project (probably in node) that would have the right modules to convert svgs into icons. @chryw already has a similar project but we'd need to:
This would take some time to setup, but nonetheless it is very hacky. Github has already moved towards using svgs so this would be a patch that we'd need to maintain. One last thing to consider is if in the future we decide to create our own icon set (related to #8017) then this would be deprecated. I'd be in favor of putting our efforts into creating our own icon set that can be consumed by everyone. |
No description provided.
The text was updated successfully, but these errors were encountered: