8000 `pr-jump-to-first-non-viewed-file` - Fix click conflicts by fregante · Pull Request #8636 · refined-github/refined-github · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@fregante
Copy link
Member
@fregante fregante commented Aug 23, 2025

@fregante fregante added the bug label Aug 23, 2025

const selectors = [
'.diffbar-item progress-bar', // TODO: Old PR Files view, drop in 2026
'section[class*="PullRequestFilesToolbar-module"] > div:last-child',
Copy link
Member Author

Choose a reason for hiding this comment

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

This was selecting the whole chunk of buttons including "Submit review"

@fregante fregante requested a review from kovsu August 23, 2025 07:01
@fregante fregante marked this pull request as ready for review August 23, 2025 07:01
@fregante fregante merged commit 1dd8e3e into main Aug 23, 2025
15 checks passed
@fregante fregante deleted the viewed-file-progress branch October 13, 2025 11:57
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.

Clicking "filter files" on the new GitHub PR UI focuses the first file (pr-jump-to-first-non-viewed-file)

2 participants

0