Manual sync to prevent auto-sync bugs
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 738
- Forks
- 162
- Avg merge
- 6h 2m
- Merged PRs (30d)
- 35
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the notes editor's automatic sync flow and its Ctrl+S handling, then trace how local and server versions are reconciled during conflicts. Done should be defined by an agreed manual-sync or autosave behavior that prevents accidental loss and no longer downloads the page HTML.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- full-stack
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100