Skip to content

netiquette - Restore support for the PR Files tab - #9897

Merged
fregante merged 9 commits into
mainfrom
get-PR-author
Jul 29, 2026
Merged

fregante merged 9 commits into
mainfrom
get-PR-author

Conversation

@fregante

@fregante fregante commented Jul 29, 2026 •

Copy link
Copy Markdown
Member

@github-actions github-actions Bot added the bug label Jul 29, 2026
@fregante

This comment was marked as outdated.

@fregante
fregante marked this pull request as ready for review July 29, 2026 11:43
@fregante fregante changed the title netiquette - Restore support for draft PRs netiquette - Restore support for the PR Files tab Jul 29, 2026
} else {
banner.classList.replace('rounded-0', 'm-2');
commentField.prepend(banner);
}

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.

React PR Files beta support

if (pageDetect.isPR()) {
const match = prTitleExtractionRegex.exec(document.title);
assert(match, `Failed to extract PR author from title: ${document.title}`);
return match.groups!.author;

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.

Any-tab PR support

'file-attachment[input^="fc-new_inline_comment_discussion"]',

// PR Review comment, files tab
'div[class*="AddCommentEditor"] textarea',

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.

New selector

@fregante
fregante merged commit 359d07a into main Jul 29, 2026
26 checks passed
@fregante
fregante deleted the get-PR-author branch July 29, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

netiquette - Expected element not found: .react-issue-body,.js-command-palette-pull-body

1 participant