feat: add hide_stats option for Top Languages card#4850
Open
claw-explorer wants to merge 1 commit into
Open
Conversation
Add a new `hide_stats` query parameter that hides percentage/byte values while keeping progress bars and chart visualizations. This addresses users who want a cleaner card appearance showing only language names and their visual proportions without numeric values. The option works across all layouts: normal, compact, donut, donut-vertical, and pie. Resolves anuraghazra#1708
|
@claw-explorer is attempting to deploy a commit to the github readme stats Team on Vercel. A member of the Team first needs to authorize it. |
martin-mfg
added a commit
to stats-organization/github-stats-extended
that referenced
this pull request
Apr 25, 2026
based on anuraghazra#4850 by @claw-explorer This PR adds a new hide_values query parameter for the Top Languages card that hides the percentage/byte display values while keeping progress bars and chart visualizations intact. <img width="300" height="245" alt="top-langs5" src="https://github.com/user-attachments/assets/6c7486c3-5611-41c0-95ff-0d9183cea320" /> <img width="300" height="350" alt="top-langs" src="https://github.com/user-attachments/assets/a0cc5bed-3f8e-4934-9c30-3e7d5a240865" /> <img width="350" height="215" alt="top-langs2" src="https://github.com/user-attachments/assets/9d9c06cc-aa0d-4e47-9cdd-bce298583742" /> <img width="300" height="350" alt="top-langs3" src="https://github.com/user-attachments/assets/f4a51889-0b8f-4289-a082-e2107208a123" /> <img width="300" height="140" alt="top-langs4" src="https://github.com/user-attachments/assets/d88c2ea2-0422-482b-aade-8cf5799f12cd" />
Contributor
|
I have added this feature to github-stats-extended via stats-organization#181. It will be available after the next release. Thanks for the contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a new
hide_statsquery parameter for the Top Languages card that hides the percentage/byte display values while keeping progress bars and chart visualizations intact.Motivation
Addresses #1708 — users want the ability to show language names and their visual proportions without displaying the numeric values. The existing
hide_progressoption hides both the progress bars and the stats values. This new option hides only the numeric values while preserving the visual representation.Changes
hide_statsboolean parameter to the Top Languages card APIUsage
Works with all layouts:
Testing
All 245 existing tests pass. 3 new tests added covering the
hide_statsoption across compact, normal, and donut layouts.Resolves #1708