-
-
Notifications
You must be signed in to change notification settings - Fork 166
GitHub toggle diff comments
Rob Garrison edited this page Oct 24, 2022
·
16 revisions
A userscript that toggles diff/PR and commit comments
- Comment block:
- Each comment block now has a clickable toggle arrow in the upper right corner.
- Click to collapse or expand the comment block.
- Use Shift + click to collapse or expand all comment blocks in the file.
- File block:
- Show/Hide:
- The ugly checkbox with a "Show comments" label is replaced with a "Show or hide all comments in this file" button.
- Click to show or completely hide all the comment blocks in the file.
- Use Shift + click to show or completely hide all the comment blocks in the file.
- Expand/Collapse:
- An "Expand or collapse all comments in this file" button was added next to the show/hide button.
- Click to expand or collapse all the comments blocks in the file.
- Use Shift + click to collapse or expand all comment blocks on the page.
- Show/Hide:
- Pull Request Toolbar/Sticky Header
- Show/Hide:
- A "Show or hide all comments" button was added next to the "Unified/Split" button.
- Click to show or completely hide all the comment blocks on the page.
- Expand/Collapse:
- A "Expand or collapse all comments" button was added next to the "Unified/Split" button.
- Click to expand or collapse all the comment blocks on the page.
- Show/Hide:
- Click this link to install from GitHub; or, install from GreasyFork or OpenUserJS.
- Fix source of JS error.
- Update dependencies.
- Update mutation script.
- Update utils script.
- Update mutation script.
- Update selectors. Closes issue #122.
- Don't hide open editors. See issue #121.
- Rewrite using new selectors. Fixes issue #109.
- Update GitHub icon.
- Update mutation script.
- Update mutation script.
- Update mutation script.
- Update mutation script.
- Update mutation script url.
- Update GM4 polyfill.
- Only show global toggles with comments.
- Use tooltips.
- Use correct
@grant
setting. - Include commit pages.
- Initial commit