sindresorhus/refined-github

`clean-conversation-sidebar` broken #4258

premnepak posted onGitHub

CHROME Version 90.0.4430.72 (Official Build) (64-bit)

Installed the Chrome Extension and it is not working. I am getting the below console error. (It is a private repo).

Refined GitHub β†’ clean-conversation-sidebar β†’ TypeError: Cannot read property 'remove' of undefined at clean (refined-github.js:6568) at runFeature (refined-github.js:1942) at setupPageLoad (refined-github.js:1955) at refined-github.js:1988 Search issue: https://github.com/sindresorhus/refined-github/issues?q=is%3Aissue+Cannot%20read%20property%20'remove'%20of%20undefined

Open an issue: https://github.com/sindresorhus/refined-github/issues/new?labels=bug&template=bug_report.md&title=%60clean-conversation-sidebar%60%3A%20Cannot%20read%20property%20'remove'%20of%20undefined

logError @ refined-github.js:1923

image


Yup, Looks like they are removing all the class names and making the generic

posted by yakov116 almost 4 years ago

We’ll have to use select().closest() to find them. Each block likely has a form element with a URL that ends in /assignees or something

posted by fregante almost 4 years ago

Actually that form and .js-* classes might appear only when you’re a collaborator/triager. If there are no specific classes we might have to find each section via textContent 😟

posted by fregante almost 4 years ago

I see aria-label="Select milestones" on for example

https://github.com/sindresorhus/got/issues/1306
posted by yakov116 almost 4 years ago

Indeed each section has either the form itself, even when not editable, or some identificative class πŸŽ‰

posted by fregante almost 4 years ago

Fund this Issue

$0.00
Funded

Pull requests