Skip to content

comment-excess - Rename to hidden-content - #9732

Merged
fregante merged 4 commits into
mainfrom
comment-excess-drop
Jun 16, 2026
Merged

fregante merged 4 commits into
mainfrom
comment-excess-drop

Conversation

@fregante

@fregante fregante commented Jun 14, 2026 •

Copy link
Copy Markdown
Member

@github-actions github-actions Bot added the bug label Jun 14, 2026
@fregante fregante removed the bug label Jun 15, 2026
@fregante
fregante marked this pull request as draft June 16, 2026 06:31
@fregante fregante changed the title comment-excess - Drop feature comment-excess - Rename to hidden-content Jun 16, 2026
@github-actions github-actions Bot added the bug label Jun 16, 2026
@fregante
fregante marked this pull request as ready for review June 16, 2026 07:02
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`);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
fregante merged commit a622b30 into main Jun 16, 2026
13 checks passed
void features.add(import.meta.url, {
include: [
pageDetect.isPR,
pageDetect.isIssue,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@fregante
fregante deleted the comment-excess-drop branch July 10, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Warn of hidden content on cmd-f comment-excess: doesn't work

1 participant