devicons / devicons/devicon

[FEATURE REQUEST] Using the tag system in `devicon.json`

Open
#988 6 comments 2 reactions 0 assignees View on GitHub
discussion enhancement
Dominant language
CSS
Stars
11.8k
Forks
2.4k
Avg merge
5d 4h
Merged PRs (30d)
3

Description

### Problem

Each entry in the `devicon.json` has a `tag` attribute. As far as I know, this is never used both in our official website or during our icon creation pipeline. Since we have it, we should probably use it.

### Suggested feature

I can think of two choices:
1. Create a search system using the tags for our official website. Users can specify a tag and we will filter the result for them based on that tag. They can also specify multiple tags and we will only search result that satisfy all the tags (`AND` relationship).
2. Remove the `tag` attribute. If we don't use it, might as well remove it. Makes writing the entry easier for contributors and shorten the json file.

### Why should we have this feature?

_No response_

### Additional information

I'm leaning towards option 1 just because I think it's cool to have that functionality. However, we then run into the following issues:

- Standardizing the tags: perhaps we have a `tags.json` or a `Tags` page in our wiki that explains the tagging. We can then validate them using `check-bot`.
- Converting the old tags to the new standardized tags. This has to be done manually and we have around 200 entries to check.
- Coding it to the site. I'm not sure how easy it would be to use AngularJS to create this feature. I'm confident it's feasible since I can just look at the search code and change it a bit. However, this is a bit of a wild variable.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.