Skip to content

fix(autosave): only save after changes in the editor - #9348

Merged
mejo- merged 4 commits into
mainfrom
fix/only-autosave-on-changes
Oct 8, 2026
Merged

mejo- merged 4 commits into
mainfrom
fix/only-autosave-on-changes

Conversation

@max-nextcloud

@max-nextcloud max-nextcloud commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Todo

  • undo / redo does not trigger save.
  • add test: opening md file does not trigger save.

@max-nextcloud
max-nextcloud force-pushed the fix/only-autosave-on-changes branch 4 times, most recently from 89ebbb8 to e670d95 Compare October 8, 2026 07:53
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud
max-nextcloud force-pushed the fix/only-autosave-on-changes branch from e670d95 to 32caf45 Compare October 8, 2026 08:00
* Only autosave on updates that have `addToHistory` meta
  so automated and remote updates do not trigger autosave.
* Decouple autosave from sync.
* Trigger autosave explicitely when reconnecting with offline changes.

Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud

Copy link
Copy Markdown
Collaborator Author

/backport! to stable35 please

@max-nextcloud

Copy link
Copy Markdown
Collaborator Author

/backport! 6be8cd3 to stable34 please

@max-nextcloud

Copy link
Copy Markdown
Collaborator Author

/backport! 6be8cd3 to stable33 please

@max-nextcloud

Copy link
Copy Markdown
Collaborator Author

/backport! to stable34 please

@mejo- mejo- left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look good to me.

@mejo-
mejo- merged commit 468c958 into main Oct 8, 2026
64 of 66 checks passed
@mejo-
mejo- deleted the fix/only-autosave-on-changes branch October 8, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants