You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
attachElement is our previous deduplicating method, we should now prefer the selector observer. This isn't always practical, but attachElement is to be considered legacy
deduplicate: 'has-rgh' is the old way to mark entire views as "processed". These are at risk of breaking (or are already broken) when GitHub changes the way pages are updated.
Activity
[-]`releases-tab` appears in dropdown even when there are no releases[/-][+]It's not yet over 9000[/+][-]It's not yet over 9000[/-][+]Code migrations[/+]fregante commentedon Aug 13, 2024
Drop
awaitDomReady: trueThis isn't required, but generally we should prefer:
$$()elementReady, if they're DOM-basedfregante commentedon Aug 13, 2024
fregante commentedon Aug 13, 2024
Replace
attachElementwithobserverattachElementis our previous deduplicating method, we should now prefer the selector observer. This isn't always practical, butattachElementis to be considered legacyfregante commentedon Aug 13, 2024
Replace
deduplicatewithobserverdeduplicate: 'has-rgh'is the old way to mark entire views as "processed". These are at risk of breaking (or are already broken) when GitHub changes the way pages are updated.Using the selector observer is preferrable
[-]Code migrations[/-][+]🍰 Code migrations[/+]fregante commentedon Aug 14, 2024
fregante commentedon Aug 20, 2024
Replace
element-readywithobserver.waitForElementSeen in https://github.com/refined-github/refined-github/blob/80fe729d781121e0c9348ed96e6eb2f71a9fd315/source/helpers/selector-observer.tsx
There are two limitations:
element-readywaits for the whole element to finish loading; the observer would fire immediately after the first paintelement-readyworks on elements that are not visible; the observer only fires when the element is paintedfregante commentedon Oct 4, 2024