Manual sync to prevent auto-sync bugs
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- full-stack
调研方向
首先定位笔记编辑器的自动同步流程及其对 Ctrl+S 的处理,然后追踪发生冲突时本地版本与服务器版本的协调方式。Done 应通过一项已达成共识的手动同步或自动保存行为来定义,该行为应防止意外丢失,并且不再下载页面 HTML。
由索引模型根据 Issue 内容生成。
描述
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?
- 主要语言
- JavaScript
- 星标
- 739
- 派生
- 162
- 平均合并
- 20 小时 38 分钟
- 30 天内合并 PR
- 46
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/notes 的其他 Issue
-
bug need to reproduce
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug need to reproduce
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
bug need to reproduce
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
feature request needs discussion
难度 1/5 1 小时以内 新手友好度 62/100
nextcloud/notes#1344 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
murdos/musicbrainz-userscripts#1150 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
sindresorhus/eslint-plugin-unicorn#3921 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
web-scrobbler/web-scrobbler#6266 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
exa-studio/ApiVault#329 ·