itaifish / Sprocket-Pan

https://sprocketpan.com
Other
4 stars 1 forks source link

Track History / Do Not Track History Toggle #30

Open kdpullen95 opened 3 months ago

kdpullen95 commented 3 months ago

There's times when someone might not want their request history tracked or saved, especially if they use the same tool for prod and nonprod. I suggest adding a toggle in a visible location that allows you to switch between incognito/private mode and regular mode at will.

I know someone can just go in and delete their history, but that's not necessarily

The impetus for this feature was a coworker of mine being alarmed and flabbergasted that Postman (locally, I think?) tracks request history, because he had used it to resolve a prod issue earlier that year. I'd like to make it really obvious that we do but we don't have to track history, and allow people an easy way to switch that.

itaifish commented 3 months ago

What if we allow the user to disable history:

  1. On a pre-request basis, as well as globally
  2. Programmatically So they can have a pre-request script turn on and off history saving depending on the environment