Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(draft) graphiql 2 next steps roadmap #2690

Open
22 tasks
acao opened this issue Aug 24, 2022 · 7 comments
Open
22 tasks

(draft) graphiql 2 next steps roadmap #2690

acao opened this issue Aug 24, 2022 · 7 comments

Comments

@acao
Copy link
Member

acao commented Aug 24, 2022

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 move plugins prop => sidebarPlugins and mark plugins as deprecated - where other types of plugins use different props such as resultPanePlugins
      1. 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?
  • 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
@acao acao added the roadmap label Aug 24, 2022
@leoloso
Copy link

leoloso commented Aug 29, 2022

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?

@acao
Copy link
Member Author

acao commented Aug 29, 2022

@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 !

@thomasheyenbrock
Copy link
Collaborator

@leoloso adding the explorer as a plugin will become even easier with #2715

@leoloso
Copy link

leoloso commented Aug 29, 2022

Sounds awesome, thanks @thomasheyenbrock!

@LekoArts
Copy link
Contributor

LekoArts commented Sep 5, 2022

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.

@toxsick
Copy link

toxsick commented Sep 5, 2022

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.

@LekoArts
Copy link
Contributor

LekoArts commented Sep 7, 2022

I time-boxed some time on the code exporter: https://github.com/LekoArts/graphiql/tree/code-exporter

image

It's not working correctly at the moment (see screenshot with the error), feel free to send in PRs against #2758

@acao acao changed the title graphiql 2 next steps roadmap (draft) graphiql 2 next steps roadmap Sep 7, 2022
@acao acao added the graphiql label Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants