Menghuan1918
18dade0f63
fix(perf): address the perf-scan review findings
2026-10-24 12:10:17 +08:00
Menghuan1918
0a4a94c704
perf(graph): window the commit history rows
2026-10-24 02:17:10 +08:00
Menghuan1918
6417547bb5
merge origin/dev: include Context diagnostics and graph layout fixes
...
# Conflicts:
# CHANGELOG.md
2026-10-17 11:52:48 +08:00
Menghuan1918
38d94bdb98
fix(git): let commit graph fill available sidebar height
...
Replace the 460px viewport cap with flex allocation. Bound the graph section minimum so long history scrolls internally instead of stretching the outer list. Verify tall and narrow panes, preview selection, folding and long Changes lists in the mounted host.
2026-10-17 11:33:55 +08:00
Menghuan1918
4ebd3e9bdd
chore: adapt sidebar to DSH 0.2.1-alpha.5
2026-10-17 02:12:44 +08:00
Menghuan1918
88ded478de
merge pr-969 ( #969 feat(git-graph): 只读提交图) into dev(@vlln)
...
融合(D5):#969 的图谱引擎作为 Git 镜头内的「提交图」区上线,不再新增第三个镜头。
- 保留:src/git-graph.ts(有界路由 + graph-stale/graph-limit)、graph-layout.ts、
graph.module.css、CommitDetails、DiffPane 的 PaneTabStrip 与 details/content/diff 分签、
hover 卡片、引用徽章、分支筛选、无限滚动、e2e 与设计文档;
- 落位:GitGraphLens → GitGraphSection(挂在 GitLens 的 Graph 区,目标读镜头自己的
仓库/worktree 选择,不再自持选择器);行右键接回 #944 的提交菜单(查看/复制/revert/cherry-pick);
- 去掉:第三镜头与 changesGraphLens 键、#944 的 GitGraph.tsx(及随之无消费者的
log 行样式与 historyLoadError/changesNoHistory 词典键);
- 镜头常驻保留(hidden 切换):Graph 的滚动/选中、Changes 的展开与草稿切走不丢,
同时 store 槽位与轮询按「可见 + 在屏」分别门控(切回不闪 loading);
- 两套重写过的测试按新契约对齐(底部面板分签、图谱区与 Git 镜头的关系、图行/历史断言)。
2026-10-16 17:30:44 +08:00
vlln
3edaa5aee8
test(e2e): 图谱在真实宿主上的挂载冒烟
...
在真实 `dsh web` 上建一个带合并的真实仓库,走完整链路:`git.graph` 路由
→ 打开 Git 页并切到 Git Graph → 渲染出合并历史 → 点合并提交(详情卡片里是
完整 hash 与两个父提交短哈希,且没有已删除的「与第一个父提交比较」提示)
→ 分支下拉框筛选后历史收窄。同时断言全程无 pageerror,且仓库的 HEAD / refs /
status 在读图前后逐字不变——这一条是「只读」最硬的证据。
选择器都锚定到具体容器:短 hash 在(隐藏的)Git 视角里也有,纯文本匹配会命中
隐藏元素;分支名 `main` 在下拉框的 option 里也有一份。
2026-10-15 20:44:33 -07:00