graphql / graphql-playground

🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
MIT License
8.77k stars 735 forks source link

Ability to clear result area of previous query execution. #732

Open karloluis opened 6 years ago

karloluis commented 6 years ago

At the company the I work for we use the playground through graphql-yoga to do our demo's when delivering to show our PM and PO our progress. On multiple occasions we have wanted to present using a fresh playground with only the queries prepared to be executed but sadly the caching system keeps everything in record and we show previous outcomes when running. We found two work arounds to this; first, simply copy pasting queries into a new playground tab, second, having the query fail and switch out and back to the tab and fix it (including killing the server and running the to fail). We believe that having the ability to clear a response on demand would be beneficial for development cycle as it provides targeted and intentional functionality through the website.

rose-a commented 5 years ago

This would be especially useful when playing around with subscriptions, since they tend to fill up the response area very quickly...

Miragecoder commented 5 years ago

With that being said, it would probably also be useful if the chronological order of separate results can be reversed! (Loving this project by the way!)

alberluc commented 5 years ago

It's clean the subscriptions results if I go back in my navigator and return on playground after this.

naingaungphyo commented 3 years ago

It will be nice to be able to clear in the response tab! This will be really helpful feature we want. Any progress for this feature?

karloluis commented 3 years ago

No one has been assigned to this ticket, so it seems it is dead unless someone picks it up.

marjau commented 9 months ago

Has anyone figured out how to clean the history when doing subscriptions? I tried to go back and then return to the navigator(Brave) without success. It is still annoying.