Skip to content

Manual sync to prevent auto-sync bugs #1648

@dvtate

Description

@dvtate

Is your feature request related to a problem? Please describe.
While editing my notes I frequently encounter sync errors this has even resulted in almost the entire note being deleted by accident as the sync error pops up while I'm typing causing me to accidentally choose the wrong version to revert to and that version sometimes comes from the day before when the note was just a title.

Nextcloud notes is replacing my text editor and I'm very accustomed to pressing Ctrl+S to save files, but doing so in the notes app instead tries to download the page html.

Both of these behaviors are very annoying and make it difficult to use the app.

Describe the solution you'd like
I would like to be able to disable automatic sync and instead allow me to manually decide when to sync my changes by pressing ctrl+s.

Or autosave behavior:

  • The automatic sync system instead writes .autosave.<note file>.md
  • If there's a conflict, leave the server version until next change
  • Next time the user opens the note file:
    • if the autosave file is newer, ask if they want to restore from autosave

Describe alternatives you've considered
Maybe I just shouldn't use the Nextcloud Notes app on desktop.

Additional context
Below you can see that I'm getting a lot of sync errors from the notes files despite not editing the local copies... maybe the app is auto-syncing too frequently and confusing the server?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequests for complete new featuresneeds discussionNeed to clarify if and how we should implement this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions