-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup widgets and side effects on context invalidated (reload, update) #4258
Comments
@grahamlangford Worth some investigation here to re-scope, I think some of this has been fixed already, but there might be other, newer examples of the same sort of issue, like #5441 for example is a vaguely similar sort of problem |
Also a UX issue experienced by Brandon and Corinne, presumably on Triggers that don't deactivate and keep showing the "PB restarted" notification over and over: |
I found another issue for context menus: ![]() Repro seems to be:
|
@fregante I've been seeing that error a ton on my gmail inbox page as well |
It's due to the URL change / ajax navigations. This is likely a consequence of: Before that PR, the URL changes were managed by the background page, which was killed on a reload so the content script no longer received those updates. After that PR, the content script lives on. I'll open a PR to stop the listener |
I think we're good for now. If you see anything else sticking around, please reopen |
|
Also the modal stays open and is unclosable. I pushed it but other stuff took priority: Screen.Recording.6.mov |
Follows:
Pixiebrix does a good job at cleaning up the buttons across reloads, but some parts remain. This is probably mostly a DX issue meant to ensure PB developers don't lose their minds while debugging Schrödinger's bugs. 😅
kbar
kbar remains attached and sometimes it conflicts with itself, appearing multiple times on a single keystroke.
Element picker overlay (✅ addressed by #4488)
Elements may remain selected when closing the editor as well, and no way to deselect them.
Sidebar (partially addressed by #4117)
It remains unconnectable until the user manually reloads it. An
ErrorBanner
component with reload button would be helpful.Solution
The text was updated successfully, but these errors were encountered: