Merged
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Hover over the count numbers on repo pages to see a popup with watchers, stargazers, or forks. Includes skeleton loading, 5min cache via service worker, and "View all" links to full pages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merge origin/main into worktree-watch-fork-star-list, keeping both watch-fork-star-popup (this branch) and pr-collapse-expand (main) features in content.ts and content.css. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Don't move DOM elements — add class + popup directly to counter elements, fixing Watch popup (React component broke with wrapCounter) - Override pointer-events: none on Primer React CounterLabel so hover events actually fire on the Watch counter - Attach popup to ALL star counters (both starred/unstarred forms) so popup works regardless of star toggle state - Remove global "already injected" guard that blocked re-injection - Add explicit popup mouseenter/mouseleave for robust hover transitions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…nerHTML - Extract escapeHtml to shared src/lib/utils.ts, remove duplicates from commit-tags.ts and watch-fork-star-popup.ts - Merge identical renderStargazers/renderWatchers into renderUserList - Escape all interpolated values in innerHTML (login, avatarUrl, ownerAvatarUrl, fullName) to close XSS surface - Remove unused PopupConfig.type field - Share fetched star data between starred/unstarred counter popups 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
Fix: in-place popup attachment
pointer-events: noneon Primer React CounterLabel so hover events fireRefactor: code quality cleanup
escapeHtmlto sharedsrc/lib/utils.ts, remove duplicates from commit-tags and popup featurerenderStargazers/renderWatchersinto unifiedrenderUserListPopupConfig.typefieldTest plan
🤖 Generated with Claude Code