Repository navigation
Git 变更面板加宽,文件状态按 Git 习惯着色 - #128
Merged
Merged
Conversation
- 工作目录抽屉宽度改为窗口的 85%(至少 980px,手机铺满) - Git 变更的文件列表与 diff 按 2:3 分栏,列表至少 320px,路径不再逐字折行 - 新增/未跟踪为绿色、修改为橙色、删除为红色加删除线、重命名为蓝色 - diff 中新增行与删除行加浅色底 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
背景
#127 上线后试用:工作目录抽屉偏窄,Git 变更的文件列表只有 210px,路径和状态文字被逐字折行;不同状态的文件也没有颜色区分。
改动
min(100vw, max(980px, 85vw))。只改前端,节点无需升级。
测试
前端 eslint、vue-tsc、
WorkspaceDrawer.spec.ts通过;用样例数据在 1400px 宽窗口截图核对排版与配色。🤖 Generated with Claude Code