You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow up from graphql/graphql-wg#1648. The current situation of having 2 different IDEs is confusing. Playground hasn't had much activity lately and it'd be grand to consolidate everything in GraphiQL.
That being said, as a Playground user, there are several aspects that I like better there and I'm curious what the team thoughts are about them.
Maybe schema polling? (I would have expected this to be available but didn't find it)
Settings editor
This is all from a cursory look of comparing the sample index.html (playground, graphiql). It may very well be that GraphiQL has all those features but that they require more configuration, it which case, some better defaults would be very welcome.
Any thoughts?
The text was updated successfully, but these errors were encountered:
We should be able to get something done here quickly if a Toolbar button is acceptable. I suppose we don't have all of the header information from the fetcher, but we could work around that.
Schema
SDL/JSON download
We don't have a screen that displays the schema (like Playground) so this control would be out-of-context unless we build additional UI around it. Still, should be as possible as the copy as curl request.
Editable endpoint url
This doesn't quite fit into the current layout. We'd have to wrap the entire app, as is, with another set of tabs that connect to different endpoints. Genuinely curious how often you use this feature in Playground. Is it primarily for dev/prod/staging comparisons, or are you connected to unrelated endpoints in the same Playground session?
Multi column schema doc
As above, this won't fit well into the current layout very well. In Playground, the docs are above the IDE such that they're allowed to expand when necessary. In GraphiQL they're limited to the left column. Sure, there's a handle for changing the size, but we wouldn't want to do that automatically like Playground does.
Maybe schema polling? (I would have expected this to be available but didn't find it)
I previously did a load of thinking around this as part of the Pathfinder project. I was never a fan of Playground's implementation, as there's no prompt to overwrite the schema in state with the new one when it is detected. We should consider carefully how we'd like this to work in GraphiQL
Search the docs
Cmd+K is already implemented in Docs. It's not hyper robust, but definitely searchable!
Settings editor
There's only a small number of global settings currently in GraphiQL compared to Playground. As GraphiQL expands and settings are added, I imagine many of them would be editor/pane specific.
This is a follow up from graphql/graphql-wg#1648. The current situation of having 2 different IDEs is confusing. Playground hasn't had much activity lately and it'd be grand to consolidate everything in GraphiQL.
That being said, as a Playground user, there are several aspects that I like better there and I'm curious what the team thoughts are about them.
The full context is in graphql/graphql-wg#1648 but the most important ones are:
This is all from a cursory look of comparing the sample index.html (playground, graphiql). It may very well be that GraphiQL has all those features but that they require more configuration, it which case, some better defaults would be very welcome.
Any thoughts?
The text was updated successfully, but these errors were encountered: