Skip to content

Feature request: Save on closing web editor with back button #519

Closed

Description

@TheEdda

My usual workflow when editing a recipe from cook server is to make my edits and click the Back button (element of the page, not the browser back button) to go back to the recipe screen. Sometimes I click too fast and my latest changes aren't saved. Would it be possible to immediately save when pressing the Back button before leaving the page please?

Activity

  1. changed the title [-]Feature request: Save on closing editor with back button[/-] [+]Feature request: Save on closing web editor with back button[/+] on Sep 21, 2026
  2. xuv commented on Sep 25, 2026

    @xuv

    Interesting proposition. But I don’t think that would be an expected outcome for most people. Back button does not immediately means "save my changes" for anyone. It could as well mean "oops, did not mean to save that, let’s go back to the original recipe".

    So maybe what might be a good alternative is to catch any user action that would make them leave the page while the recipe has actually received some unsaved edits. Then a modal window could warn that there are some unsaved changes and propose to "save" or "dismiss changes".

  3. TheEdda commented on Sep 25, 2026

    @TheEdda
    Author

    Yeah, confirmation prompt also makes sense. It avoids the silent loss of new input, which is what I keep doing 😅

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions