js-graphql-intellij-plugin icon indicating copy to clipboard operation
js-graphql-intellij-plugin copied to clipboard

Cannot interact with GraphQL toolbar

Open spartanhooah opened this issue 2 months ago • 2 comments

I have installed the plugin, and in the tool window, my types appear in the schema discovery summary. However, when I open the graphql file where my queries are defined, the only button that I can click on the toolbar is the "Open Configuration File" button. What step have I missed in setting things up? My code can be found here.

spartanhooah avatar Apr 14 '24 11:04 spartanhooah

@spartanhooah hi! The disabled buttons you see are related to making queries and schema introspection from the remote URL. If you need this, you should specify a URL in the config. There are two ways to do this 1, 2.

That's a UX issue, maybe we need to hide those disabled buttons to prevent confusion.

vepanimas avatar Apr 17 '24 10:04 vepanimas

I think it's also a documentation issue. The section on the toolbar doesn't mention that it's only useful for remote URLs. It'd be great if we could make a query against a schema that's in the open file, kind of like the built-in HTTP client that exists in IntelliJ IDEA Ultimate.

spartanhooah avatar Apr 18 '24 22:04 spartanhooah