Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Manual sync to prevent auto-sync bugs

未关闭
#1,648 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
javascript
领域
full-stack

调研方向

首先定位笔记编辑器的自动同步流程及其对 Ctrl+S 的处理,然后追踪发生冲突时本地版本与服务器版本的协调方式。Done 应通过一项已达成共识的手动同步或自动保存行为来定义,该行为应防止意外丢失,并且不再下载页面 HTML。

由索引模型根据 Issue 内容生成。

描述

feature request needs discussion

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
主要语言
JavaScript
星标
739
派生
162
平均合并
20 小时 38 分钟
30 天内合并 PR
46

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/notes 的其他 Issue

查看 nextcloud/notes 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。