优化: 变更区完善(文件 Diff 预览 + 分支只读列表)

- 变更文件选中后展开 Diff 红绿预览(原 selectFile 拉了 diffContent 但未渲染)
- 分支切换按钮实现只读列表弹窗(拉取分支列表 + 当前分支标记)
- 分支切换提示走 AI 助手(git_branch 工具)
This commit is contained in:
lxy
2026-07-01 00:01:25 +08:00
parent 976ce29ad9
commit 78ef5dcc44
3 changed files with 144 additions and 2 deletions
+3
View File
@@ -14,5 +14,8 @@ export default {
detached: 'HEAD detached',
loadMore: 'Load more',
switchBranch: 'Switch branch',
branches: 'Branches',
noBranches: 'No branches',
branchSwitchHint: 'Use AI assistant to switch branches (git_branch tool)',
},
}