warrenday / graphql-network-inspector

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

Add collapse request view section #94

Closed dutzi closed 1 year ago

dutzi commented 1 year ago

This PR adds the option to collapse request view sections. It also fixes an issue where hitting down/up arrow keys would scroll the list.

https://user-images.githubusercontent.com/927310/226545607-9e61fb3f-4d4b-4f3c-a1bb-4cb51cf8b2f2.mp4

Bug fix (before):

https://user-images.githubusercontent.com/927310/226545582-5d534a7f-9eb8-4151-bdce-ea4ca6fdbbe4.mp4

After:

https://user-images.githubusercontent.com/927310/226545828-1219c5db-2a4e-4b68-a0c6-406fc13982a0.mp4

Odonno commented 1 year ago

That looks nice. I believe this is linked to #88 and #92.

warrenday commented 1 year ago

Feature looks awesome. Thanks for doing @dutzi

The mix of style and tailwind will need to be addressed. If you don't feel comfortable with tailwind, we can help update to it. Either as part of this PR or after merge.

Odonno commented 1 year ago

Hi @dutzi

I made a PR to make use of tailwindcss classes: https://github.com/dutzi/graphql-network-inspector/pull/1

warrenday commented 1 year ago

I'll release to the web store this weekend. Thanks for the hard work here guys!