feat: Better Top Repositories — auto-expand and pin-to-top#6
Merged
Conversation
Auto-click the "Show more" button on the GitHub dashboard to load all repos instead of the default 10. Adds a toggleable feature flag in the extension settings. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
7166cd4 to
83621ed
Compare
Allow users to pin favorite repos to the top of the "Top repositories" sidebar list. Pinned repos show a filled pin icon and are reordered above unpinned ones. Also stabilizes scrollbar gutter to prevent layout shift when the list expands. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Track injection per <li> instead of per <ul> so repos loaded after "Show more" also get pin icons - Shrink pin icon from 16px to 12px for subtlety - Use transparent background with GitHub-native hover colors - Add CLAUDE.md guideline: avoid modifying GitHub's original DOM Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…d to 20 - Rename dashboard-top-repos to better-top-repos across all files - Remove isDashboardPage() gate so feature works on feed page and navigation drawer wherever "Top repositories" appears - Keep clicking "Show more" until >= 20 repos or max 5 clicks - Add feature screenshot to README and README_CN Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
/feed), and the navigation drawer on any pagechrome.storage.localscrollbar-gutter: stable) to prevent layout shift when the list expandsisDashboardPage()detector and a new toggleable feature flag (feature-better-top-repos) in extension settingsTest plan
github.comdashboard/feedpage🤖 Generated with Claude Code