feat(Inline-Commit): editor 行内提交 CodeLens(#13) - #12
Merged
Conversation
🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
ThreeFish-AI
added a commit
that referenced
this pull request
Jul 4, 2026
依用户偏好将 hyperGit.worktrees 的 visibility 由 collapsed 改回 visible(保留 initialSize:1), 使其默认展开但占位收窄;Stash/Shelf 仍默认折叠。同步校正 CHANGELOG 与 issue #12 表述以对齐最终默认。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
ThreeFish-AI
added a commit
that referenced
this pull request
Jul 4, 2026
* fix(Views): 优化侧边栏视图默认布局,次要视图默认折叠并设初始高度权重; Stash/Shelf/Worktrees 默认 visibility:collapsed(仅占标题栏、点击即展开), Commit/Graph/Branches 及次要视图分别设 initialSize 高度权重,缓解视图挤占空间。 VS Code 侧边栏视图约 142px 最小展开高度为核心硬编码(官方 #123715 已 not planned), 无法经扩展解除;新默认仅对新安装或「View: Reset View Locations」后生效。 同步 CHANGELOG(Unreleased)与 docs/.agents/issue.md #12。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com> * fix(Views): Worktrees 默认保持展开(仅以 initialSize 收窄),同步文档; 依用户偏好将 hyperGit.worktrees 的 visibility 由 collapsed 改回 visible(保留 initialSize:1), 使其默认展开但占位收窄;Stash/Shelf 仍默认折叠。同步校正 CHANGELOG 与 issue #12 表述以对齐最终默认。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
ThreeFish-AI
added a commit
that referenced
this pull request
Jul 20, 2026
- Stash / Shelf 由 collapsed 改为 visibility:hidden(hideByDefault,默认不显示、视图菜单可勾选恢复) - Commit / Worktrees 由 visible 改为 collapsed(显示但默认折叠) - Branches / Graph 保持 visible;容器内声明顺序重排为 Commit·Branches·Graph·Worktrees - 纯 package.json contributes.views 声明式改动,initialSize 不变,src/ 零改动、零破坏 - 新增 tests/unit/views-layout.test.ts 声明式护栏锁定顺序与各视图 visibility - CHANGELOG 记 Changed、issue.md 新增 #16 并给 #12 补指针、README 计数 372→375 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
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.
交付(IDEA editor inline commit 的 VS Code 等价)
✓ 提交此 Hunk (+N -M)→ 仅暂存该 hunk(patch 重建 +git apply --cached)→ 输入 message →git commit。engine/diff/editor-mapping(hunk → 编辑器行区域映射,纯逻辑 + 5 单测)。验收
check-types/lint/package ✅ · test:unit 64/64(+5 editor-mapping) · test:integration 3/3 ✅
语义说明
inline commit 提交「该 hunk + 当前所有已暂存内容」。若存在其他已暂存文件,弹二次确认;典型场景(仅有未暂存改动、提交单个 hunk)下精确提交该 hunk。
🤖 Generated with Claude Code