Skip to content
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

[Feature request] Persist open panel state when refreshing #185

Open
justlevine opened this issue Jul 30, 2024 · 0 comments
Open

[Feature request] Persist open panel state when refreshing #185

justlevine opened this issue Jul 30, 2024 · 0 comments
Labels
type: enhancement Improvements to existing functionality

Comments

@justlevine
Copy link

Current Behavior

The state is not saved when opening the IDE panel. As a result, when refreshing the page, the IDE panel is closed.

Expected behavior

If the page is refreshed, the panel should remain open.

Possible solution

It seems we're appending a # to the URL, but with no id. If we were to change this to append #graphql-ide, we could use that to open the panel when the page finishes loading.

PS: this is the approach used by Query Monitor

@josephfusco josephfusco added the type: enhancement Improvements to existing functionality label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvements to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants