Repository navigation
支持在线书同名搜索合并与多书源切换 - #18
Merged
Merged
Conversation
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.
解决的问题 / Problem
在线搜索逐源平铺同名书,预览和书架在线书缺少换源入口。Fixes #16。
改动后的行为 / Resulting behavior
验证 / Validation
pnpm exec tsc --noEmit通过。pnpm run i18n:check通过;无未引用 key 或 JSX 硬编码中文,保留既有提示。pnpm build通过。node scripts/online-sources-test.mjs通过,覆盖同名合并、120 上限后的来源补入、去重、不可变更新、换源保留 ID/分组/手编标签、相同 URL 不继承正文、写盘失败、并发来源变化、空目录及本地书拒绝。node scripts/chapter-editing-test.mjs通过;git diff --check通过。数据与兼容性 / Data and compatibility
无数据库格式变化或迁移。搜索合并和预览仅会话保存;换源复用 Rust 整书保存通道,原 ID 不变。书签、注释和进度记录保留,但不同来源的目录序号和正文可能不一致,需要用户手动重新定位;确认区明确说明这一影响。旧正文不跨源复用,封面与手编元信息保留。旧
/online/:key会话入口兼容。提交前检查 / Checklist