Kong / Kong/insomnia

Can no longer switch between GraphQL operations with the mouse cursor

Open
#5,648 6 comments 11 reactions 1 assignee Claimed by @CurryYangxx View on GitHub
A-graphql B-bug S-verified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### 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](https://user-images.githubusercontent.com/6221648/211699857-151443bb-40b9-426b-b941-056e5f0c5cdc.JPG)

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?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

There was an issue raised for this: https://github.com/Kong/insomnia/issues/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.