-
-
Notifications
You must be signed in to change notification settings - Fork 166
GitHub issue comments
Rob Garrison edited this page Oct 24, 2022
·
72 revisions
A userscript that adds a popup menu that allows toggling comments
- It only works on issue and pull request comment pages.
- Items include just about all timeline entries including title, label, milestone and other changes.
- There is also an option to toggle reactions and "+1" comments; it does include (any) emoji only comments and comments like "+1!!!!!!".
- Toggle comments from specific users by clicking on their avatar in the popup menu.
- Menu items that do not have content to hide will appear darker, except for the "Hide +1s" menu item (added v1.0.12).
- All menu settings are saved except for specific user that have their comments hidden.
- In v1.4.2, there are new/updated review entries:
-
Reviews (All)
- hides all reviews. This also includes review requests, approvals and change requests. -
Reviews (Outdated)
- hides only outdated reviews; but may include current reviews depending on the wrapper (see issue #105). -
Reviews (Resolved)
- hides only resolved reviews, which usually means they are outdated. Also may include other reviews depending on the grouping. -
Reviews (Current)
- hides only current reviews; but again it may include other review types.
-
- Click this link to install from GitHub; or, install from GreasyFork or OpenUserJS.
Note: repeat +1s removed, so this number may not match the "Hide +1s" value.
- Update dependencies.
- Update mutation script.
- Update mutation script.
- Add Jenkins auto-merge & inactive deployments.
- Use correct function name to fix hide plus 1 & reactions.
- Fix redefined variable.
- Code cleanup
- Fixes for PR comments: commits, reviews, resolved, merged & integrations.
- Fix +1 comments display. See issue #84.
- Updated selectors (timeline classes changed).
- Add "Mentioned" menu item.
- Add "Resolved" menu item.
- Fix last comment avatar not being included.
- General code cleanup.
- See issue #105.
- Fix reaction feature.
- Only force display of existing reactions. See issue #84.
- Fix path to GitHub emoji assets. Fixes issue #84.
- Update GitHub icon.
- Update mutation script.
- Add project changes toggle.
- Fix avatar duplication & updating. See issue #60.
- Add toggle for similar comments.
- Strikethrough applied filter names. See issue #59.
- Fix avatar toggle & append new on update. See issue #60.
- Update mutation script.
- Fix reaction item visibility. See issue #58.
- Detect & show "+1 comments". See issue #58.
- Highlight unhidden +1 comments.
- Add more ignorable key words.
- Ignore sort reactions block. Fixes issue #57.
- Show toggle button instead of checkmark.
- Add only active toggle. Closes issue #58.
- Update screenshot images.
- Prevent JS error reported in issue #56.
- Add more key words to ignore.
- Update mutation script.
- Add internal checks to prevent JS errors.
- Swap checkmark behavior. See issue #44.
- Check more words for comments to hide.
- Update mutation script.
- Update mutation script url.
- Update assets.
- Update reference selector. Fixes issue #28.
- Fix js error & replace header.
- Fix another js error.
- Add Reviews (all & outdated) toggle.
- Show active button while content is hidden.
- Update mutation script url.
- Update avatar logo class name. Fixes issue #20.
- Change license to MIT.
- Update mutation url.
- Switch to using mutations.js.
- Use pjax event & optimize observers.
- Clean up "closest" function.
- Clean up linting issues.
- Add "cmon" & "come on" to list of words to ignore.
- Fix JS error when first comment doesn't have a reaction.
- Add unicode thumbs up which later get replaced by an image in Windows.
- Always show first comment reactions.
- Fix JS error that pops up when you toggle selections that have content.
- Prevent JS error when no items exist.
- Prevent JS error in closest function.
- Update menu UI.
- Show bold menu text only when an item is checked.
- Fade out menu items when no related elements are detected (except hide +1).
- Requested by darkred (ref).
- Code clean up, using more ES6.
- Add check to prevent javascript errors.
- Use native element matches.
- Remove parentheses from reaction count.
- Hide more comments, but don't count authors twice.
- Do not remove link only comments (see these comments).
- Add hidden +1 count to top post. Requested here.
- Auto update after "View more" comments is used (see a link here).
- Include a count of hidden items in the menu.
- Only run script on issue pages.
- Remove regex test, use replace instead. Hide plus 1 was including "Fixes gh-123" comments.
- Fix checkmark wrap in Firefox (ref).
- Include "pleeeassseee" comments when removing +1s.
- Consider any emoji as a +1 (e.g. cake, tada, etc)
- Update selections after (ajax) page change.
- Prevent JS error with a solitary empty comment.
- Initial commit