Skip to content

(GitHub Issue Comments) The script no longer works: it shows invalid active items, no active items and the filters don't actually toggle anything #105

Closed
@darkred

Description

@darkred

Greetings @Mottie !

Using Chrome 78/Firefox 70 and only Tampermonkey beta 4.9.6088 and 'GitHub Issue Comments' v1.3.8.

After GitHub recently having changed so many class names,
unfortunately the 'GitHub Issue Comments' script no longer works:

  • it shows invalid active items when 'Toggle items' is disabled
  • it shows no active items when 'Toggle items' is enabled
  • the filters don't actually hide/show anything in any case.

There are no errors in Chrome Console.

I've tried various issue pages:

https://github.com/Mottie/GitHub-userscripts/issues/104
https://github.com/Mottie/GitHub-userscripts/issues/84
https://github.com/openstyles/stylus/issues/55
https://github.com/isaacs/github/issues/895

and in all cases, the above issues occur.

Also, the filters, in the rare cases when one is listed as active with 'Toggle items' enabled (e.g. in the first link its 'Reactions'),
don't actually toggle anything when clicked.

Could it be possible to make it work again?? May I assist you in any way with this?
If I'm not mistaken, unfortunately it's not a simple matter of just tweaking the CSS selectors.
( Maybe they should all be replaced with jQuery :contains() (specific string) selectors ?? )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions