postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.82k stars 839 forks source link

Clean scratch pad - remove multiple collections / delete all #11652

Open LIttleAncientForestKami opened 1 year ago

LIttleAncientForestKami commented 1 year ago

Is there an existing request for this feature?

Is your feature request related to a problem?

I have multiple collections in my scratch pad. I'd like to delete them all.

https://community.postman.com/t/how-to-clean-up-the-scratch-pad/34213/4

Describe the solution you'd like

Bulk delete, delete all, clear scratch pad - all work for me, currently I need to do it one by one which is draining and turns me off from the tool

image

Describe alternatives you've considered

  1. hacking your indexed db to run a delete query
  2. marking the collections I want to delete, then deleting them all with del key
  3. using xdo-tools to press del tab tab tab del for me n-teen times

Additional context

No response

coditva commented 1 year ago

@LIttleAncientForestKami Hey, have you tried removing the local Postman folder? You can find the steps in this page. Let me know how it goes.

LIttleAncientForestKami commented 1 year ago

Hi @coditva and sorry for belated reply. I first removed everything via:

  1. focus on a collection (first among many that I want to delete)
  2. place the cursor appropriately
  3. Del
  4. Tab x3
  5. Enter
  6. IF the previous collection unfolds without being prompted - click to return to next one you want deleted

What I found annoying in my recipe above is that Postman UNFOLDED a previous one, the collection above the one I wanted gone.

So, feel free to close, or fold into "allow bulk delete" ticket/feature. My problem was solved manually (and if I wanted for instance to delete 15 collections among 33 I would want bulk delete rather than clear scratchpad so...).