Comments (12)
I think maybe the idea would be able to dump and restore the playground as a json file.
from graphql-playground.
@MooreDevelopment @marktani I had to switch to a Linux VM from the Windows host and didn't want to recreate the dozens of tabs in the playground, so here's what I ended up doing (and you can do too):
- Install the Chrome LocalStorage Manager extension from https://chrome.google.com/webstore/detail/localstorage-manager/fkhoimdhngkiicbjobkinobjkoefhkap/related
- Export the Local Storage object from the playground ("graphql-playground" ...) to a file
- Copy the file over to the destination
- Copy the file contents to clipboard
- Use the Import option in the Chrome extension
- Refresh the playground to see your restored tabs
from graphql-playground.
You can do it also without plugin:
- Open developer console
- At the console, run:
localStorage.getItem('graphql-playground')
- Copy the result (if it is too long, click first on "Show more" at the and)
- At the destination, at the playground page, open the developer console -> console, and write
localStorage.setItem('graphql-playground', <paste here the result from step 3>)
- Reload, and all your playground tabs are there
from graphql-playground.
Yes, that's what I had in mind! 🙂
from graphql-playground.
Could you elaborate a bit based on an example?
from graphql-playground.
So i am guessing this was never added?
from graphql-playground.
Missing this feature too. It would act as the Postman collections, which are a very useful to share a getting started toolkit for an API.
from graphql-playground.
This feature is needed, and the workaround @ReallyVirtual provided does not work due to #797
from graphql-playground.
Share queries and mutations between the team, just restore and use later. As "Postman" GraphQL playground also must have it.
from graphql-playground.
What is the status of this?
It would be really helpful (Switching from windows to macbook, and don't want to install chrome with browser sync there)
from graphql-playground.
I also would love to have this. This is the only thing keeping playground from falling short of postman.
from graphql-playground.
UP!
from graphql-playground.
Related Issues (20)
- Error: Unable to find node on an unmounted component.
- V2 monaco rewrite - Needs Maintainers & Contributors! HOT 12
- Update `graphiql` dependency
- does not exist on type 'Register'.
- Demo link from NPM is broken
- select named query option not showing up HOT 1
- Add Changesets
- Playground stuck forever if I use await
- How to set playground only for specific env?
- "Reload Schema" does not work on Electron App; forced to quit/restart the app
- Option for disabling GraphQL playground from being loaded into an iframe to prevent clickjacking
- Interface implementing another interface breaks Schema tab HOT 4
- Flatpac build HOT 2
- Listening to Subscriptoin doesn't work
- Electron playground doesn't start
- support for linux HOT 1
- Update Prettier version to allow 'interfaces to implement other interfaces' HOT 1
- Playground fails to connect to server on Safari when connecting via localhost HOT 1
- Remove ligatures
- Playground forces https on all requests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-playground.