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

Can no longer switch between GraphQL operations with the mouse cursor #5648

Open
1 task done
zleonov opened this issue Jan 11, 2023 · 6 comments
Open
1 task done

Can no longer switch between GraphQL operations with the mouse cursor #5648

zleonov opened this issue Jan 11, 2023 · 6 comments
Assignees
Labels
A-graphql Area: GraphQL Protocol B-bug Bug: general classification S-verified Status: Verified by maintainer

Comments

@zleonov
Copy link

zleonov commented Jan 11, 2023

Expected Behavior

Prior to version 2022.7.0 users could select which GraphQL operation to send by simply placing the mouse cursor anywhere on the query in question. With version 2022.7.0 this functionality is no longer available. Now users have to select the query from a dropdown.

First, even though multiple bugs have been fixed in version 2022.7.1 the dropdown box still has problems. See attached image (this happens when going from multiple queries to one query without a name).
operation-name

But second, more importantly, this is a huge regression, or at least a huge lack of functionality that existed prior. Consider that usually the mouse is already on the query the user is editing. Thus sending the query used to be just one click away. Now it usually takes me 3 or 4 clicks.

While this may seem like a trivial change at first, for those of us who work with a document containing dozens of queries it's a blocker. I had to downgrade to version 2022.6.0.

Some of this is of course muscle memory from previous functionality but consider:

  1. If you have many similar named queries, it takes much longer to correlate the queries with the names in the dropdown.
  2. If you have many queries with similar functionality, and you chose the neighboring query from the dropdown menu, you may not notice that the results are wrong.
  3. Muscle memory: I loved that Insomnia was the only client that had this ability, and now it's hard to go without it.

Actual Behavior

Users have to select the specific query they have to run from the Operations drop-down menu.

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

There was an issue raised for this: #5631 but it is now closed. However this issue was related to the drop-down menu not working correctly, rather than bringing back the old functionality.

Insomnia Version

2022.7.1

What operating system are you using?

Windows

Operating System Version

Windows 10

Installation method

Download from the internet

Last Known Working Insomnia version

2022.6.0

@zleonov zleonov added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Jan 11, 2023
@zleonov zleonov changed the title Can no longer select the target GraphQL operation with a mouse Can no longer select the target GraphQL operation with cursor Jan 11, 2023
@filfreire filfreire added the A-graphql Area: GraphQL Protocol label Jan 11, 2023
@itsfabijano
Copy link

+1

@filfreire filfreire added S-verified Status: Verified by maintainer and removed S-unverified Status: Unverified by maintainer labels Jan 17, 2023
@goofy78270
Copy link

image
need to add a space between operation name and "("

@gyles
Copy link

gyles commented Jan 27, 2023

+1. #5631 made graphql barely useable again but having this functionality back is the ideal state.

@zleonov
Copy link
Author

zleonov commented Jan 27, 2023

Yeah, if a dropdown is required both functionalities can be implemented. The dropdown menu could dynamically switch to the query the mouse cursor is on. But it's really not clear to me that a dropdown is required at all. The old functionality worked perfectly.

@filfreire This is such an important usability issue. Def. need to get this back. Let me us know if we can provide more info or confirm something.

@zleonov zleonov changed the title Can no longer select the target GraphQL operation with cursor Can no longer switch between GraphQL operations with the mouse cursor Mar 29, 2023
@zleonov
Copy link
Author

zleonov commented Mar 29, 2023

Hi @filfreire and team. I know you guys are busy, but I am wondering if you could provide any update on this issue? I do see that it has been verified. So does that mean it's been assigned some priority? Is this on the queue?

I love insomnia, so my team and I are sticking to version 2022.6.0 (the last version where this functionality worked), but I would love to tell them to turn back on auto-updates.

@vincenzodnp
Copy link

It would be grand to have this functionality back.
It's super faster, when you have multiple queries/mutations on the same page, to run them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-graphql Area: GraphQL Protocol B-bug Bug: general classification S-verified Status: Verified by maintainer
Projects
None yet
Development

No branches or pull requests

7 participants