Skip to content

Auto Save Changes to request #142

Closed
Closed

Description

@helloanoop

Currently Bruno does not auto save changes made to the request to the file unless user explicitly saves it by pressing Ctrl/Cmd+S

Some of our users prefer auto-save functionality (Similar to IntelliJ editor)
I am thinking of supporting this via a UI toggle in app settings.

JIRA

Activity

  1. stratosgear commented on Oct 5, 2023

    @stratosgear

    Well, eventually I "figured it" out that there must be some way to save the edits in the requests tab when i was desperately trying to get the changes persisted. I was looking for a File/Save option or something, until eventually tried a CTRL+S randomly in the blind. That was a very confusing experience.

    To be more precise Bruno 0.19.0 still does not persist URL changes to requests....

  2. gjrivero commented on Oct 5, 2023

    @gjrivero

    There should be some label indicating how to save the request. I had to search the forum to find out that the command was Ctrl-S

  3. helloanoop commented on Oct 5, 2023

    @helloanoop
    ContributorAuthor

    We have heard this from multiple people. And I understand this is frustrating to lose data that you though you had saved.

    We can make auto-save the default and provide a toggle in the app preferences to turn auto toggle off.

  4. added
    enhancement
    good first issue
    help wanted
    on Oct 5, 2023
  5. helloanoop commented on Oct 5, 2023

    @helloanoop
    ContributorAuthor

    Another option is to provide a "Save" button for now next to the send icon

    image

    Can someone in the community help with this?

  6. srikary12 commented on Oct 8, 2023

    @srikary12
    Contributor

    @helloanoop Do we need toggle to auto save tests?

  7. helloanoop commented on Oct 8, 2023

    @helloanoop
    ContributorAuthor

    @srikary12 I published a patch in v0.21.1 that introduces several nudges to indicate that they need to save the request.
    We also show a popup when a user attempts to close a request without saving.

    Do we need toggle to auto save tests?

    Our current implementation basically saves the request draft inside the local redux store. It only gets written to the filesystem, when we save Cmd+s/Ctrl+S or the newly introduced save button in the url bar.

    image

    We definitely want to support Auto-Save Toggle for users who prefer auto save - This is will be taken in v2.
    Platform stability and other features in roadmap are priority for v1

  8. srikary12 commented on Oct 10, 2023

    @srikary12
    Contributor

    @helloanoop I've started working on this, Can expect a PR before weekend.

  9. srikary12 commented on Oct 13, 2023

    @srikary12
    Contributor

    @helloanoop raised a PR. Please let me know if something needs to be improved :).

  10. MSGoodman commented on Dec 17, 2023

    @MSGoodman

    Just adding my two cents here: although I think auto-saving as implemented in the PR above (every X seconds) is a great feature, I would personally rather have the option for a different sort of auto-saving, where my request is saved whenever I send it. Probably a totally different feature and maybe one other folks wouldn't want, just sharing my own thoughts!

  11. added
    mid-term-goal
    and removed
    enhancement
    on Nov 23, 2024
  12. 5 remaining items

  13. xianghongai commented on May 13, 2025

    @xianghongai

    Any progress on the feature?

  14. anusree-bruno commented on May 13, 2025

    @anusree-bruno
    Collaborator

    This may take a bit more time, but we are planning to support saving all requests through keybindings as part of this issue, which is scheduled for May.

  15. srikary12 commented on May 14, 2025

    @srikary12
    Contributor

    @anusree-bruno Isn't this a completely different feature?

  16. anusree-bruno commented on May 15, 2025

    @anusree-bruno
    Collaborator

    @srikary12
    Hey, I was mainly thinking about the pain point users are running into: losing changes because they forgot to save, or needing to manually save each request after making changes. Auto-save would be a proper fix for that.

    That said, adding a shortcut to save all requests at once can help address the same problem to some extent. It won’t fully eliminate the issue, but it does give users a quick way to save everything in one go.

    Auto-save will take a bit longer since we also need to think through the UI — like having a toggle in settings so users can turn it on or off — along with the feature implementation itself. But I think both are essentially aiming to solve the same underlying problem.

  17. xianghongai commented on May 16, 2025

    @xianghongai

    Image

    I would suggest adding an option to save changes when testing the request.

  18. marked Auto Save Files #4993 as a duplicate of this issue on Jun 27, 2025
  19. added a commit that references this issue on Jul 7, 2025
  20. zacaj commented on Nov 21, 2025

    @zacaj

    This drives me crazy, seems like every time my computer reboots for updates I lose a ton of stuff that I thought I'd saved but apparently forgot to. The visual queues aren't obvious, and there's no save all button/key combo either.

    Also, at this point I've sorta come to expect dev tools like this to act like VS Code where if you have unsaved work and they get closed, they'll remember the unsaved work too. Periodically persisting the store to disk would not only prevent data loss from lack of auto save, but also provide better resume capabilities for getting back to where you left off after an unexpected shutdown/crash/etc

  21. anusree-bruno commented on Nov 21, 2025

    @anusree-bruno
    Collaborator

    @zacaj Totally agree, we should be saving the UI snapshot in these scenarios.

  22. Kyran121 commented on Dec 1, 2025

    @Kyran121

    Any updates?

  23. anusree-bruno commented on Dec 9, 2025

    @anusree-bruno
    Collaborator

    This PR implements autosave #6225 and the auto save feature will be available from v3 onwards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature-requesthelp wantedmid-term-goalmodule-qol

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions