Repository navigation
comment-excess - Rename to hidden-content - #9732
Merged
Merged
Conversation
fregante
marked this pull request as draft
June 16, 2026 06:31
comment-excess - Drop featurecomment-excess - Rename to hidden-content
fregante
marked this pull request as ready for review
June 16, 2026 07:02
fregante
commented
Jun 16, 2026
Comment on lines
+28
to
+33
| // TODO: Add support for PRs by detecting deferred-content wrappers | ||
| ); | ||
| if (indicator) { | ||
| const content = pageDetect.isPRFiles() ? 'files' : 'comments'; | ||
| scrollIntoViewIfNeeded(indicator); | ||
| await showOverlay(`There are hidden ${content} that won’t be searched`); |
Member
Author
There was a problem hiding this comment.
I was unable to find the deferred content wrapper yet in larger PRs. It seems that GitHub will still load the DOM. I'm keeping this for now
fregante
commented
Jun 16, 2026
| void features.add(import.meta.url, { | ||
| include: [ | ||
| pageDetect.isPR, | ||
| pageDetect.isIssue, |
Member
Author
There was a problem hiding this comment.
I intentionally left discussions out since from what I saw they hide content very aggressively so you'd get this message in most discussions that have more than a handful of comments. I'm open to PRs though, I just don't care about discussions much
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.
comment-excess: doesn't work #8263Test URL
Screenshot