Repository navigation
feat(git): 强制删除二次确认、混合结果标红并修复多选 - #2234
Merged
Merged
Conversation
Mark failed branch names red, retry only reviewed unmerged branches, preserve all batch outcomes, and fix Cmd/Ctrl selection and file-tree highlights.
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.
关联 Issue / Linked issue
PR 类型 / Type
改动说明 / What changes
背景 / Why
普通删除备份分支提示未完全合并后,用户没有可继续的入口。批量选择包含已合并、未合并和远程失败时,必须清楚展示各项结果;强制只能作用于用户再次确认的未合并分支。核查多选时也复现文件树首次追加选择丢掉原行、选中底色只显示一行。
改动 / Changes
4ef9d9e0ad1c28d195242d9e8986da151bcc50c2,保证默认构建和 fixture 一致;其源码树与本次已验证的分支提交完全相同。不在本 PR 范围内 / Out of scope
Core #132 已合入,宿主已固定到其 main 正式提交。本 PR 保持 Draft,未发布或自动合并。未执行 Windows VM / 原生 macOS 窗口交互验收,不把无头测试当作实机验收;两端矩阵保持 pending。
类型专属:feat
多平台对齐
范围检查 / Scope checks
功能矩阵 / Feature matrix
git-branches-remotes和workspace-tree-batch-files的证据与具体验证动作;两端保持 partial/pending。origin/main HEAD的变更门禁。插件归属 / Plugin ownership
UI 验证 / UI evidence
42c74e8a9,场景含普通删除、多选菜单、未合并结果、独立确认、混合结果、文件树多选;dark/zh-Hans 与 light/en,配置画布 1200×760。1c243f662的原filetree_view.go,相同真实点击场景;新功能无旧强制确认截图。截图已逐项检查。统一日志系统 / Structured logging
performed、operationFailed、operationRejected;逐项失败在处理边界记录,Core 请求和 Git 进程沿用执行轨迹。界面文案 / i18n
逻辑归属 / Logic placement
性能与内存 / Performance and memory
ui.List虚拟化与滚动条。设置 / Settings
N/A:无新增配置或设置页。
插件契约 / Plugin contract
N/A:无插件宿主方法、通知、SDK 或协议变化。应用 Git 契约位于 Core #132,宿主 pin 已包含其提交。
发行包与资源 / Bundle and resources
无用代码与重构 / Dead code and refactoring
验证 / Verification
desktop-go.sh test -tags 'vivahead lithevisual' ./internal/workbench -run '^TestVisualBranchDelete$' -count=1 -timeout=120sgenerate-i18n --check、app-language、Agent Note、test-stability 静态、matrix change/full、runtime immutability、diff --checkdesktop-go.sh test ./internal/core ./internal/workbench -run 'TestBranchForceDelete|TestLogForceDeleteMixedBatch|TestProjectTreePrimaryClick' -count=1 -timeout=90s未能执行的检查和原因: Windows 原生交互与完整平台构建未本地执行;其余无关全量测试交 CI。本 PR 保持 Draft;Core 依赖已合入并更新正式 pin。
提交前确认 / Final checks
97ba10ae5;目标 main。