Undo/Redo not working after sending request
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
Clicking Ctrl + z should undo the most recent change in the request body edit section after sending a request. It seems the undo history is cleared after sending a request. I'm always going back and forth between editing and sending. Undo is very important for this flow.
### Actual Behavior
Ctrl + z is doing nothing. It seems he undo history is cleared out after sending request.
### Reproduction Steps
1. Make a change to the body
2. send request
3. click Ctrl+z
4. Nothing happens (should undo previous change)
### Is there an existing issue for this?
- [x] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Which sync method do you use?
- [ ] Git sync.
- [ ] Insomnia Cloud sync.
- [ ] Local only
### Additional Information
Seems this was an [old issue](https://github.com/Kong/insomnia/issues/7352), not sure if it ever got really resolved or the bug is back.
### Insomnia Version
12.3.1
### What operating system are you using?
Windows
### Operating System Version
Windows 11
### Installation method
insomnia.rest
### Last Known Working Insomnia version
_No response_
Contributor guide
Research direction
Reproduce the issue in Insomnia by editing a request body, sending it, and pressing Ctrl+z. Trace the request-body editor and the send flow to find where undo history is reset; done means the most recent body change can be undone after sending.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100