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

Removing language from top language cards #302

Closed
X3llus opened this issue Aug 3, 2020 · 10 comments
Closed

Removing language from top language cards #302

X3llus opened this issue Aug 3, 2020 · 10 comments
Labels
stale Issue is marked as stale.

Comments

@X3llus
Copy link

X3llus commented Aug 3, 2020

Is your feature request related to a problem? Please describe.
When using the top languages card, if you hide a language it doesn't get replaced.

Describe the solution you'd like
If one of the languages is hidden replace it with the next one (to keep it at 5 languages)

@anuraghazra
Copy link
Owner

This is expected behaviour that we want.

@X3llus
Copy link
Author

X3llus commented Aug 4, 2020

Just for clarification, if a language is hidden it isn't supposed to get replaced?

@anuraghazra
Copy link
Owner

No it's not suppose to get replaced, its just that you hide from 5 languages.

@vn7n24fzkq
Copy link

vn7n24fzkq commented Aug 4, 2020

@X3llus
Hi, I don't see this issue before my PR #307, does this can solve your problem?

@ahmadawais
Is the behavior in PR #307 allowed?

@X3llus
Copy link
Author

X3llus commented Aug 4, 2020

@X3llus
Hi, I don't see this issue before my PR #307, does this can solved your problem?
@ahmadawais
Is the behavior in PR #307 allowed?

That is exactly what I'm looking for

@will-molloy
Copy link

Surely you can add a parameter to specify max number of languages to show? If hiding languages it uses lesser used ones to meet the number.

@lrusso96
Copy link
Contributor

Surely you can add a parameter to specify max number of languages to show?

@wilmol you can use langs_count parameter to achieve this ( see e9019c1).

@stale
Copy link

stale bot commented Dec 6, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue is marked as stale. label Dec 6, 2020
@stale stale bot closed this as completed Dec 13, 2020
@whoami-anoint
Copy link

<img height="180em" src="https://github-readme-stats-eight-theta.vercel.app/api/top-langs/?username=whoami-anoint&langs_count=8&layout=compact&hide=html&title_color=ffab91&text_color=80cbc4&bg_color=263238&border_radius=10" />

@whoami-anoint
Copy link

you can also hide the shown language

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue is marked as stale.
Projects
None yet
Development

No branches or pull requests

6 participants