feat(history): 支持所有分支提交图与连续历史浏览 - #37
Merged
Merged
Conversation
4 tasks
ShaoClean
marked this pull request as ready for review
September 16, 2026 13:31
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.
背景与结果
提交历史现在以多列拓扑图展示所有本地已有引用可达的提交,能够看到其他本地分支、远程跟踪分支和标签的独有历史。每次加载 50 条并追加保留已有记录;选中提交后在下方查看文件变更和 Diff,窄窗口可返回原浏览位置。
变更类型
关联 Issue
Closes #36
变更内容
设计文档(Wiki)
验证
直接在隐藏的 .cindy-worktrees 路径运行桌面集成测试时,既有静态文件服务会返回 404;复制同一构建产物到普通临时目录后完成全部集成回归。完整步骤与已知限制见 Wiki。
兼容性与风险
GET /repositories/:id/log 从数组调整为分页对象,前后端需一起更新;默认查询覆盖所有引用。没有数据库迁移或新的持久化设置,不自动 fetch,也不修改远程仓库。Windows / Linux 原生环境本次未验证。
提交前检查