-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Dashboard: Inspect drawer can no longer be opened with url or linked to #109617
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
Conversation
d1c89f1 to
44b0bb5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this change.
It also got me thinking about if we really need url sync support for share and export. They are also side panes that open where I don't think there is a lot of benefit of linking to.
Keeping them in the url sync isn't as complex. But It is a bit inconsistent. I also think it's a bit weird that the opening of those side panels get added to the browser history. So navigating back opens the closed side pane.
Since we don't have the edit mode in the url sync you can get into a weird state. You can't enter into export / share without first exiting edit mode. But if you open the panel, enter into edit mode and navigate back, you will have the panel open but also be in edit mode.
…to (#109617) * Inspect: Remove url state support * Fixes * fix e2e * fix lint * fix lint * fix test * Update
…to (#109617) * Inspect: Remove url state support * Fixes * fix e2e * fix lint * fix lint * fix test * Update
The url state support for the inspect drawer is buggy (as it does not work with lazy loading), and just adds a lot of unnessary complexity.
I think we can remove it / should remove it