Skip to content

quick-review - Restore on GHE - #9976

Merged
fregante merged 3 commits into
refined-github:mainfrom
robinovitch61:main
Aug 15, 2026
Merged

fregante merged 3 commits into
refined-github:mainfrom
robinovitch61:main

Conversation

@robinovitch61

Copy link
Copy Markdown
Contributor

Closes #9937

Test URLs

Can't provide a github enterprise link

Screenshot

image

@github-actions github-actions Bot added the bug label Aug 14, 2026
@github-actions github-actions Bot changed the title quick-review: Fix missing review now / approve now buttons quick-review: Fix missing review now / approve now buttons Aug 14, 2026
@fregante

Copy link
Copy Markdown
Member

I'd rather add the old selector to prFilesChangedTabSelector instead. It can be turned into an array, the $() will accept it. Use as const and include a in the selector so that types are correctly applied

const prFilesChangedTabSelector = [
 'a#prs-files-anchor-tab',
  Your selector here 
] as const

@fregante fregante left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

By the way the reason we prefer this way is specifically because $() will throw when it fails, whereas the other one will silently fail if the selectors change again.

@fregante fregante changed the title quick-review: Fix missing review now / approve now buttons quick-review - Restore on GHE Aug 15, 2026
@fregante
fregante merged commit 3bbe608 into refined-github:main Aug 15, 2026
21 checks passed
@robinovitch61

Copy link
Copy Markdown
Contributor Author

@fregante , any chance at a release soon? Would love to restore this functionality for my daily use in firefox

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.

quick-review: Expected element not found: a#prs-files-anchor-tab

2 participants