Open gabrielcsapo opened 1 year ago
thoughts @thomasheyenbrock, we are using this at linkedin and would really like a way to view the traces from our graphiql instances
Hey @gabrielcsapo 👋 this sounds like a nice use-case for a plugin. The plugin API is currently limited to showing custom UI in the "plugin pane" (which refers to the left portion of the UI where also the docs are shown). There have been ideas around also enabling plugins to be shown beneath the response, but this workstream is yet to be kicked-off.
Would love to see this.
hey, yes we still need to extend the plugin api to allow panes in other places. I plan to first refactor graphiql to use a better state management approach before extending the plugin API. Would love to have a plugin like this ready by summer
👋 Just asking a quick question on if this is something that we would want to support in graphiql
In apollo playground there was a trace viewer panel. Is this something that we would be okay supported in the official package?
For more details on the trace extension data you can find that here https://github.com/apollographql/apollo-tracing#example
A ticket in graphql-playground existed for this https://github.com/graphql/graphql-playground/issues/241 and the implementation of that was added https://github.com/graphql/graphql-playground/commit/0e2f56d10167b5ac7188c68f993caee617a8dbbe.