Skip to content
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] Hide specific languages in Top Languages Card #140

Closed
Jasonnor opened this issue Jul 22, 2020 · 8 comments
Closed

[Feature Request] Hide specific languages in Top Languages Card #140

Jasonnor opened this issue Jul 22, 2020 · 8 comments
Labels
in-progress Currently working on. lang-card Issues related to the language card.

Comments

@Jasonnor
Copy link

Is your feature request related to a problem? Please describe.

Because some languages inherently have more code lines than other languages,
I want to hide these exaggerated language statistics. 😥
Thanks!

Top Langs

Describe the solution you'd like

Maybe add a option like Hiding individual stats does, e.g.,

&hide=["Jupyter Notebook", "HTML"]

Describe alternatives you've considered

Not yet 😅

@terror
Copy link
Contributor

terror commented Jul 22, 2020

We currently have the option to hide languages below a certain percentage.

Either we implement the option to hide languages above a percentage or we add the option to hide specific languages and forget the idea of hiding languages that fall into a percentage category.

@Jasonnor
Copy link
Author

Yes, as title says, what I want is to hide a specific language 😃

@nombrekeff
Copy link
Contributor

I suggested this when adding this feature, but Anurag preferred to add the below percentage option.

I think this would be a nice option to have.

@anuraghazra
Copy link
Owner

I suggested this when adding this feature, but Anurag preferred to add the below percentage option.

I think this would be a nice option to have.

I think we can remove the below percentage option maybe? if we are adding specific language hiding features they i don't think hide_langs_below option would be useful anymore.

@nombrekeff
Copy link
Contributor

I agree. I think it would be a bit redundant to keep hide_langs_below if we add the hide languages option.

@martinRenou
Copy link

martinRenou commented Jul 22, 2020

Either we implement the option to hide languages above a percentage

This might not make sense for this specific issue actually, because in this particular issue (Jupyter Notebook being a predominant language that the person does not want to see) the percentage for other languages will need to be recomputed.

So ignoring specific languages might be better, I remember Github linguist can do something like this, I suppose this is what github-readme-stats uses for generating those numbers.

@martinRenou
Copy link

Ideally we could remove multiple languages?

@anuraghazra
Copy link
Owner

resolved in #150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-progress Currently working on. lang-card Issues related to the language card.
Projects
None yet
Development

No branches or pull requests

5 participants