-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[FEATURE REQUEST] Add alternative names #1165
Comments
@Thomas-Boi I think this is a duplicate of #327 |
@Snailedlt thanks for picking this issue up. If I got your idea right, #327 is a little different than your request. While #327 is about alias (which can be used in the font as css class) you are talking only about a search option on our website, right? For this purpose we might could use the already existing "tags" property in devicon.json. It's used like a keyword.. Does this satisfy your requirements? https://github.com/devicons/devicon/wiki/Updating-the-%60devicon.json%60
Currently the |
@amacado It would be nice to be able to search for tags. Though it would make it harder to search if we just added it normally, since there would be a lot more search results for some searches. I think a better way to add it would be to add a "tag" filter. So you could filter by tags, and then search for the name/altname. If we do it this way, it would be nice to also add a list of "allowed" tags, so that we don't get a lot of similar tags like "javascript", "js", "jsframework", etc... What do you think? |
I agree with @Snailedlt's point. I believe that the tags were always meant as extra filters, not things that you search for. I think the associated PR is a good idea. Changing the website so it searches the altnames should not be too hard either. As long as @amacado and @Panquesito7 are down, I'm cool with this. I can even help with making a PR to search for the altnames too since it should be simple. |
@Thomas-Boi Thanks for that :) If this PR gets merged, you'll be able to search for altnames aswell as the normal names. But let's wait and see what panquesito and amcado think then :) |
* add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165
* add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165
* add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165
* add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165 * fixup! add altnames devicons#1165
I have searched through the issues and didn't find my problem.
Problem
It would be much easier to find icons, if you could search for alternative names.
Take vscode for example.
Currently if I search for
Visual Studio Code
, orvisualstudiocode
nothing shows up. This is because the name of the icon isvscode
.The same is true for a lot of javascript frameworks and libraries, where they won't show up if you add
js
at the endPossible Solution
If an array of
altNames
was added to the devicon.json file, it could be added as a search field, and let us search through that list as well.Additional information
No response
The text was updated successfully, but these errors were encountered: