8000 `toggle-everything-with-alt` - Add all suggestions to batch by SunsetTechuila · Pull Request #8855 · refined-github/refined-github · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@SunsetTechuila
Copy link
Member
@SunsetTechuila SunsetTechuila commented Jan 8, 2026

resolves #8675

Test URLs

https://github.com/refined-github/sandbox/pull/121/changes

Screenshot

Screen recording

msedge_ouMQvRpg6D

Copy link
Member
@fregante fregante left a comment

Choose a reason for hiding this comment

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

LGTM 💙

delegate('.TimelineItem-body[id] .markdown-body details > summary', 'click', clickAll(markdownCommentSelector), {signal});

// "Add suggestion to batch" buttons in PR files
delegate(addSuggestionToBatchSelector, 'click', clickAll(addSuggestionToBatchSelector), {signal, capture: true});
Copy link
Member Author

Choose a reason for hiding this comment

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

capture: true

it seems that github stops event propagation after handling it

@SunsetTechuila
Copy link
Member Author

One small issue: page jumps to the top if "The New Experience ✨" is enabled

@SunsetTechuila SunsetTechuila marked this pull request as ready for review January 9, 2026 22:53
@fregante fregante merged commit 2bcdfab into refined-github:main Jan 10, 2026
14 checks passed
@SunsetTechuila SunsetTechuila deleted the toggle-everything-with-alt branch January 10, 2026 09:56
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.

add all suggestions to batch

2 participants

0