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

Autocomplete makes aliasing quite difficult #123

Closed
mike-marcacci opened this issue Sep 26, 2017 · 6 comments
Closed

Autocomplete makes aliasing quite difficult #123

mike-marcacci opened this issue Sep 26, 2017 · 6 comments

Comments

@mike-marcacci
Copy link

If there is a similarly spelled field, is is impossible to type out an alias. For example, if I have root query fields node and field2 it isn't possible to alias one as foo: node(id: "xxx") because typing the "f" in "foo" autocompletes to "field2".

The only way to get the correct field is either with some typing gymnastics (starting to type "xxxfoo" then removing the "xxx") or copy-and-paste from another editor.

At the very least it should be possible to switch off autocomplete, while keeping the autosuggest functionality.

@imolorhe
Copy link
Collaborator

@mike-marcacci 😂 "typing gymnastics".. Lmao! Sorry to hear that. We had a debate about that sometime ago, and it seems this settles that debate. I'd make the necessary changes to make it wait for you to select the autocomplete, even if it's the only option available. 😊

Cc @lon-io

@imolorhe
Copy link
Collaborator

@mike-marcacci By the way, any other usability issues you find, I'd be happy to work on. 😁

@mike-marcacci
Copy link
Author

Wonderful! 😁 Thanks for the great plugin, BTW. It's really saved me when working offline, since graphiql is too large to embed in an app's source, and referencing it precompiled from a CDN only works over a network. It's nice to have a proper graphql UI where it belongs – on my system.

@imolorhe
Copy link
Collaborator

Yay!! 😁 Glad to hear that it's useful.

@imolorhe
Copy link
Collaborator

@mike-marcacci So I'm curious, on what platform do you use Altair? The chrome extension or the desktop app?

@mike-marcacci
Copy link
Author

mike-marcacci commented Sep 26, 2017

I only use the chrome extension. I actually didn't even know that there was a standalone app, since I found it in the chrome extension registry first and never looked back!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants