Repository navigation
fix(webdav): preserve reading progress across devices - #24
Merged
Merged
Conversation
Owner
|
感谢 @kiri603 的贡献!我们已经把改动整合进当前开发分支,并针对冲突、评审修复和移动端 UI 做了调整。commit 中已通过 Co-authored-by 保留你的署名。这个 PR 暂时先不关闭,感谢! |
luyishui
added a commit
that referenced
this pull request
Nov 28, 2026
luyishui
added a commit
that referenced
this pull request
Nov 28, 2026
PR #24: cross-device reading progress - merge per-book config with progressUpdatedAt and four-state JSON merge - add cross-window lease, light tick, applySyncedProgress - touches WebDavAutoSyncRunner, contentMerge, engine, readerStore, bookDataStore PR #25: cross-book word notes - add WordNote/WordNoteTombstone and Settings/word-notes.json - sync word-notes.json over WebDAV with tombstones - add notebook/annotator UI and 17 regression tests - touches wordNotesStore, wordNotesSync, WordNotePopup, useWordNotes 42 files changed. Refs: #24 Refs: #25 Co-authored-by: kiri603 <212926027+kiri603@users.noreply.github.com>
luyishui
added a commit
that referenced
this pull request
Nov 28, 2026
PR #24: cross-device reading progress - merge per-book config with progressUpdatedAt and four-state JSON merge - add cross-window lease, light tick, applySyncedProgress - touches WebDavAutoSyncRunner, contentMerge, engine, readerStore, bookDataStore PR #25: cross-book word notes - add WordNote/WordNoteTombstone and Settings/word-notes.json - sync word-notes.json over WebDAV with tombstones - add notebook/annotator UI and 17 regression tests - touches wordNotesStore, wordNotesSync, WordNotePopup, useWordNotes 42 files changed. Refs: #24 Refs: #25 Co-authored-by: kiri603 <212926027+kiri603@users.noreply.github.com>
Owner
|
补充更正一下上条留言:之前说“通过 Co-authored-by 保留署名”不够准确。Co-authored-by 会显示在 commit 页面和个人贡献图,但 GitHub 仓库的 Contributors 列表只统计 commit author,不统计 co-author,所以不会出现在仓库贡献者列表里。抱歉。 我们已经调整了合并方式:PR #24 的 |
Owner
|
@kiri603 同步一下最终状态: 你的两个 PR 都已经合并进 main:
合并时我们针对冲突、设备同步基线、词条存储和回归测试做了一些 review 修复,这些修复放在单独的 commit 里,没有覆盖你的作者身份。 由于原始 commit 已进入 main,GitHub 自动把这两个 PR 标记为 MERGED,Merged 状态无法再改回 OPEN;如果后续还有问题,直接在这里留言即可。 感谢你的贡献! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
两台设备交替阅读同一本书时,改排版或打开书也可能更新配置文件时间,使较旧的阅读位置盖过另一台设备上较新的进度。阅读器打开时,已同步到磁盘的新位置也可能被内存中的旧位置写回。
改动
updatedAt的旧配置。同步时按阅读位置的更新时间合并进度。验证