graphql-playground icon indicating copy to clipboard operation
graphql-playground copied to clipboard

Ability to clear result area of previous query execution.

Open karloluis opened this issue 6 years ago • 6 comments

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.

karloluis avatar Jun 08 '18 13:06 karloluis

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

rose-a avatar Feb 05 '19 10:02 rose-a

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!)

Miragecoder avatar May 20 '19 13:05 Miragecoder

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

alberluc avatar Aug 06 '19 20:08 alberluc

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?

naingaungphyo avatar Jul 17 '21 08:07 naingaungphyo

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

karloluis avatar Jul 19 '21 19:07 karloluis

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.

marjau avatar Jan 14 '24 22:01 marjau