Skip to content

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

Description

@justlevine

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    graphiql ideIssues or pull requests related to the GraphiQL IDEtype: enhancementImprovements to existing functionality

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions