Skip to content

quick-review - Enhance native "Add your review" button - #9192

Merged
fregante merged 4 commits into
mainfrom
qucik-review
Apr 14, 2026
Merged

fregante merged 4 commits into
mainfrom
qucik-review

Conversation

@SunsetTechuila

Copy link
Copy Markdown
Contributor

Test URLs

This PR

Screenshot

chrome_dOODNKMhRE

@SunsetTechuila SunsetTechuila changed the title quick-review - Enhance native "Add review" button quick-review - Enhance native "Add your review" button Apr 12, 2026
Comment thread source/features/quick-review.tsx Resolved
Comment thread source/features/quick-review.tsx Resolved
}

function enhanceNativeReviewButton(button: HTMLAnchorElement): void {
// Clone button to remove GitHub's event listeners, which interfere with ours

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.

🙌

@fregante
fregante merged commit a5108df into main Apr 14, 2026
9 checks passed
@SunsetTechuila
SunsetTechuila deleted the qucik-review branch April 14, 2026 07:37
}

function enhanceNativeReviewButton(button: HTMLAnchorElement): void {
// Clone button to remove GitHub's event listeners, which interfere with ours

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Namely this one from React Router:

Image

It doesn't use the current link href that we modify. Instead, it uses the to prop that was passed when the component was created

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.

2 participants