warrenday / graphql-network-inspector

A better network inspector for viewing and debugging GraphQL requests.
MIT License
466 stars 46 forks source link

Search full request - jump to the point in the request where the match is found #113

Closed iainmck29 closed 1 month ago

iainmck29 commented 9 months ago

I use this network inspector everyday and it's a great tool but one annoying thing I find is with the Search full request bar. If I have a very large reponse in which I may want to search for some data within it then I'll use this tool but while it finds the match no problem, i then have to trawl through a huge response to actually find the highlighted bit where the search match exists.

It would be great if clicking on the search result caused the scroll on the response tab to auto jump to the point where the match exists.

warrenday commented 9 months ago

Agree @iainmck29 I have the same problem. We could look at jumping to the first match and having a UI to jump to next/prev.

iainmck29 commented 9 months ago

That would be great. I was thinking of being able to click any of the given matches in the list and it would jump straight to that position rather than going through each in case I may have a lot of matches but either works anyway!

jadnhm commented 8 months ago

I would def love this. If I've got a page making a gql request that returns a particular payload I want to give it something to search for (JSON path?) and just show me that part of the response.

warrenday commented 8 months ago

This is currently planned. I'll get to it once subscriptions is finished and released.

jadnhm commented 2 months ago

@warrenday I presume this didn't get picked up/completed... any updates?

warrenday commented 2 months ago

This has been released for a while. Currently shows matches in yellow. Jumps to the first match.

Screenshot 2024-04-22 at 18 57 19
jadnhm commented 2 months ago

oh amazing! how did I miss it? 🤦 haha

Is this the PR? https://github.com/warrenday/graphql-network-inspector/pull/51

Actually I think this is not really what I was expecting haha maybe I should write out what I would like in more detail and see if I can try to work out how to implement it...

warrenday commented 1 month ago

Closing this as we do have jump to search. If you're after something more, please feel free to raise a PR. All are welcome!