graphiql
graphiql copied to clipboard
(draft) graphiql 2 next steps roadmap
I'm probably missing a lot of things here but just to get started. Please feel free to reorganize things as you please
2.0.x
- [ ] replace webpack 4 with webpack 4 at least if not full vite/esbuild for @graphiql/react &
graphiql
- [ ] i18n
- [ ] more a11y improvements
2.x.y
- [ ]
plugins
prop API expansion - either -1. we moveplugins
prop =>sidebarPlugins
and markplugins
as deprecated - where other types of plugins use different props such asresultPanePlugins
-
- or we expand on our usage of the
plugins
prop array collection definition to specify alternative types of plugins, and upgrade the underlying@graphiql/react
?
- or we expand on our usage of the
-
- [ ] custom operation, variables, results tab pane plugin API?
- [ ] sidebar network tab
- [ ] sidebar code exporter
- [ ] sidebar
- [ ] better subscriptions results view (custom results serializer/ custom component plugin via tab pane plugins?)
- [ ] yaml, markdown, and html results view plugins
- [ ] query parser
- [ ] docs site 📚🔮
- [ ] doc site setup
- [ ] how-tos
- [ ] examples
- [ ] api docs
- [ ] easy vars?
- [ ]
renderGraphiQL
, middlewares and simple client-only docker image
3.0.0
- [ ] monaco-editor
- ...
Todos
for this roadmap:
- [ ] link relevant issues
- [ ] create relevant discussions
- [ ] create relevant tickets
Was there also the intention to incorporate an explorer widget, to click on fields and add them to the query, similar to OneGraph/graphiql-explorer
?
@leoloso yes that will come in a later version for 2. see the graphiql explorer example if you want to enable the explorer plugin
Update: "later" as in later that same day 😆 thanks @thomasheyenbrock !
@leoloso adding the explorer as a plugin will become even easier with https://github.com/graphql/graphiql/pull/2715
Sounds awesome, thanks @thomasheyenbrock!
I'd also be interested in having https://github.com/OneGraph/graphiql-code-exporter as a first-class citizen plugin 👍 If needed I can help with this.
I'd also be interested in having https://github.com/OneGraph/graphiql-code-exporter as a first-class citizen plugin 👍
Same here, using it for a customer and without it I can not migrate to v2. Would even be even interested in contributing, but I need directions on this.
I time-boxed some time on the code exporter: https://github.com/LekoArts/graphiql/tree/code-exporter
It's not working correctly at the moment (see screenshot with the error), feel free to send in PRs against https://github.com/graphql/graphiql/pull/2758