-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
Is it possible to integrate GraphiQL Explorer or something very similar to Altair? #534
Comments
👋🏾Thanks for opening your first issue here! Be sure to follow the issue template! ✌🏾 |
@FluorescentHallucinogen Looks like a brilliant idea. It is definitely something that can be included in Altair. I'm only worried about the UI/UX bit of it (PS: I'm not a designer 😅) and how this can be placed alongside the currently existing functionalities without them appearing dissonant. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@FluorescentHallucinogen Isn't that the design of Playground's upcoming explorer? 😏 |
You're partially right, this is a slightly modified by me version of Explorer tab from Playground v2 concept. See OneGraph/graphiql-explorer#10 for more info. 😉 |
Okay alright. I am still figuring out the best way to integrate GraphiQL explorer, considering it is a React project. Still researching around potentially creating a web component from it, and using that within Altair. Also trying to figure out the best way to allow addition of features like this into any instance of Altair without adding it into the main Altair app. |
Alternatively I would have to build it from scratch within Altair instead of using the one from OpenGraph, which isn't going to be ideal. |
@imolorhe I've improved some things. See explanations in OneGraph/graphiql-explorer#10 (comment). 😉 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing this as resolved, considering the GraphiQL explorer is now in Altair beta and can be used today 🙂 To use the GraphiQL explorer plugin, you should do the following steps:
|
I really love this feature! Are you guys considering moving it out of beta and enable it by default? Seems to me like functionality basic enough so that it should be part of the core project. |
Hey @AntonioRedondo, Glad to hear that this feature has been very helpful ❤️. I also assume you've not had much bugs or issues while using it, which is good news. Unfortunately I'm not convinced the plugin architecture is ready to be removed from beta just yet. There's still only one plugin developed so far, which handles just one use case. There have been mentions of other potential plugins (#1089, #750) but none have been implemented just yet, so the plugin system isn't fully battle tested. Also I wouldn't consider the GraphQL explorer to be a basic functionality, which is why it was implemented as a plugin so that anyone that wants to use it can easily enable it. Once the plugin system is out of beta, it would be possible to use any of the integrations to host Altair, and have plugins enabled by default for your users. |
@imolorhe I really like Altair's Add queries and fragments from documentation feature.
But today I've just discovered GraphiQL Explorer plugin (https:/OneGraph/graphiql-explorer).
Read the rationale in the "How OneGraph onboards users who are new to GraphQL" blog post.
IMO, it taking exploring and building GraphQL queries to the next level!
Is it possible to integrate GraphiQL Explorer or something very similar to Altair?
The text was updated successfully, but these errors were encountered: