insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

Cannot undo a deleted endpoint with "Discard all changes"

Open gabsong opened this issue 8 months ago • 2 comments

Expected Behavior

I deleted an endpoint in an Insomnia collection. I have not committed the change, so it's showing as an uncommitted change.

Clicking "Discard all changes" is not undoing this deletion.

I would expect that the deleted endpoint is restored. Similar to git restore filename

Actual Behavior

Nothing happens when "Discard all changes" is clicked It's not possible to pull from master It's not possible to go into "Commit changes" and undo the changes

Reproduction Steps

  1. Within a collection that is synced, delete an endpoint.
  2. Try reverting the change

Is there an existing issue for this?

Which sync method do you use?

  • [ ] Git sync.
  • [x] Insomnia Cloud sync.
  • [ ] Local only

Additional Information

No response

Insomnia Version

11.0.2

What operating system are you using?

macOS

Operating System Version

macOS 15.3.1 (24D70)

Installation method

download from insomnia.rest

Last Known Working Insomnia version

No response

gabsong avatar Apr 16 '25 20:04 gabsong

Can't reproduce it in 11.0.2 on my local. The deleted request appears again after clicking "Discard all changes". Did you see any error logs in the Console, you can go to View -> Toggle DevTool -> Console.

Image

notjaywu avatar Apr 17 '25 03:04 notjaywu

@gabsong are you using Git Sync to share your project or Insomnia Cloud Sync?

gatzjames avatar Apr 17 '25 12:04 gatzjames