State not saving correctly
This issue pertains to the following package(s):
- [ ] GraphQL Playground - Electron App
- [ ] GraphQL Playground HTML
- [x] GraphQL Playground React
- [ ] GraphQL Playground Express Middleware
- [ ] GraphQL Playground Hapi Middleware
- [ ] GraphQL Playground Koa Middleware
- [ ] GraphQL Playground Lambda Middleware
What OS and OS version are you experiencing the issue(s) on?
MacOS Catalina
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
"graphql-playground-react": "^1.7.22",
What is the expected behavior?
State gets saved per workspace, end of.
What is the actual behavior?
Say I have 2 playground pages in my website. One uses tabs, the other does not (because I want to provide the user with samples, but also allow them to save their state and work) If I reload the playground page that doesn't use tabs, it's fine, the state stays. However, if I now go to the page with tabs, then go back to the one without, everything is reset. I have tried with and without workspaces, same problem.
Any chance for this getting looked at? Just ran into this issue myself, this ticket was helpful to discover I had the same issue - playground open in two tabs, the second one not updating state (probably the first one overwriting any changes?)
i have awaited patiently your reply. i have not eaten, slept, gone to the toilet, or gone outside while I eagerly stared at this issue page since asking the question
Wish i had your patience and determination.