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
For the whole existence of Refined GitHub, we've relied on GitHub to delete our elements when the page/URL changes, with one exception (I don't remember which). New React-based views break this assumption. I think we need to:
listen to soft-nav:render
listen to popstate and avoid duplicates calls in case soft-nav:render is also fired
figure out a way to make widgets/buttons dynamic so that they change or disappear when the URL changes
I'm opening this issue to track it properly. In short:
Known issues
turbo:renderisn't calledpopstateevents don't trigger anyturbo:rendernorsoft-nav:renderRelated issues
download-folder-buttonduplicated #6414rgh-feature-descriptionsonly works when opened in a new page #6528Current status
For the whole existence of Refined GitHub, we've relied on GitHub to delete our elements when the page/URL changes, with one exception (I don't remember which). New React-based views break this assumption. I think we need to:
soft-nav:renderpopstateand avoid duplicates calls in casesoft-nav:renderis also firedonAbort(() => element.remove())rgh-seenelement is still on the page, it won't be seen again.