UI: show excluded repositories on region pages#132
Open
stepanic wants to merge 1 commit into
Open
Conversation
7083762 to
5c085c2
Compare
- Moves the excluded-repositories notice to the top of each region page (right
under the title) so it's immediately visible, and shows the count of excluded
repos in the heading.
- Shows the per-user amount removed ("−N excluded") next to a user's contributions
when their count was reduced by an excluded repository, making it clear why a
user is ranked where they are.
Both are conditional on the new fields emitted by the counter (excluded_repos and
per-user excluded), so pages whose data predates this are unaffected.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
5c085c2 to
aa2f96b
Compare
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
Renders the
excluded_reposlist (emitted by the counter) on each region page, so it's transparent which repositories are excluded from the contribution counts and why.Companion to the code PR #131, which adds repository exclusion and publishes
excluded_repos:in the per-location YAML.Details
_layouts/default.htmlthat lists the excluded repositories (linked to GitHub) with a short explanation.location.excluded_reposis present, so pages whose data hasn't been regenerated yet are completely unaffected.Testing
excluded_reposis absent (backward compatible).🤖 Generated with Claude Code