usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
21.93k stars 1.03k forks source link

[User experience] When closing a tab with request containing unsaved changes, I should be prompted whether those changes should be discarded or not #351

Closed lared closed 1 week ago

lared commented 9 months ago

When I close a tab with a request that has some unsaved changes (modified script or headers), those changes are not saved or discarded. They just sit there quietly, I can reopen the tab and they are still going to be there.

This means that:

almirjakubaitis commented 9 months ago

Same problem in Ambient windows.

lared commented 9 months ago

I see that core part (closing request doesn't prompt for changes) has been resolved in v0.21.1, but there are two areas left:

eliasb-usafacts commented 9 months ago

In addition to a File -> Save menu, a File -> Save All (and/or a keyboard shortcut to save all unsaved requests) would be nice too

sanjai0py commented 1 week ago

I'm marking this issue as closed since it has already been implemented.

https://github.com/usebruno/bruno/pull/1317