fix:修复 WorkbenchView 冲突覆盖导致的 macOS UI 回退问题 - #368
Merged
Conversation
1lck
approved these changes
Sep 1, 2026
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.
基于当前 preview 分支中的 Run/Debug 工具栏实现,恢复 WorkbenchView 原有的自定义项目/分支切换浮层、popover 箭头与定位逻辑,以及 Git Push 对话框。
问题原因:合并 PR #359 的 Java Debug 功能时,WorkbenchView.swift 的冲突解决结果被旧版本实现覆盖,导致此前已经完成的 macOS UI 全部回退。
本次修复保留 PR #359 的 Run/Debug 工具栏功能,并恢复被覆盖的 UI;同时增加回归测试,防止项目/分支切换再次退回系统默认 popover。