Skip to content

GitHub issue comments

Rob Garrison edited this page Oct 11, 2017 · 72 revisions

A userscript that adds a popup menu that allows toggling comments

  • It only works on issue 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.
  • Click this link to install from GitHub; or, install from GreasyFork or OpenUserJS.

Screenshot

github-issue-comments

Menu (with ZenHub installed)

github-issue-comments-zenhub

Reaction text

Note: repeat +1s removed, so this number may not match the "Hide +1s" value.

github-issue-comments-reaction-text

Change Log

Version 1.1.1 – 1.1.2 (10/10/2017)

  • Fix js error & replace header.
  • Fix another js error.

Version 1.1.0 (10/8/2017)

  • Add Reviews (all & outdated) toggle.
  • Show active button while content is hidden.
  • Update mutation script url.

Version 1.0.27 (6/5/2017)

  • Update avatar logo class name. Fixes issue #20.

Version 1.0.26 (5/16/2017)

  • Change license to MIT.

Version 1.0.25 (4/21/2017)

  • Update mutation url.

Version 1.0.22 - 1.0.24 (4/13/2017)

  • Switch to using mutations.js.

Version 1.0.21 (3/25/2017)

  • Use pjax event & optimize observers.

Version 1.0.20 (1/11/2017)

  • Clean up "closest" function.

Version 1.0.19 (12/28/2016)

  • Clean up linting issues.

Version 1.0.18 (7/17/2016)

  • Add "cmon" & "come on" to list of words to ignore.

Version 1.0.17 (7/11/2016)

  • Fix JS error when first comment doesn't have a reaction.

Version 1.0.16 (7/9/2016)

  • Add unicode thumbs up which later get replaced by an image in Windows.
  • Always show first comment reactions.

Version 1.0.15 (6/28/2016)

  • Fix JS error that pops up when you toggle selections that have content.

Version 1.0.13 & 1.0.14 (6/16/2016)

  • Prevent JS error when no items exist.
  • Prevent JS error in closest function.

Version 1.0.12 (6/14/2016)

  • 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.

Version 1.0.11 (6/13/2016)

  • Add check to prevent javascript errors.

Version 1.0.10 (6/6/2016)

  • Use native element matches.

Version 1.0.9 (5/25/2016)

  • Remove parentheses from reaction count.

Version 1.0.8 (5/24/2016)

  • Hide more comments, but don't count authors twice.

Version 1.0.7 (5/23/2016)

  • 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).

Version 1.0.5 & 1.0.6 (5/22/2016)

  • Include a count of hidden items in the menu.
  • Only run script on issue pages.

Version 1.0.4 (5/19/2016)

  • Remove regex test, use replace instead. Hide plus 1 was including "Fixes gh-123" comments.

Version 1.0.3 (5/17/2016)

  • Fix checkmark wrap in Firefox (ref).

Version 1.0.2 (4/10/2016)

  • Include "pleeeassseee" comments when removing +1s.

Version 1.0.1 (4/7/2016)

  • 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.

Version 1.0.0 (4/4/2016)

  • Initial commit
Clone this wiki locally