refactor(ui): 按设计稿重构工作区与 Diff 布局 - #33
Merged
Merged
Conversation
ShaoClean
marked this pull request as ready for review
September 16, 2026 10:54
This was referenced Sep 16, 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.
背景与结果
按 Issue #31 的浅色蓝色主题设计稿重构工作区:Diff 居中,改动与提交在右侧,两侧可独立隐藏并从顶栏恢复。重复的仓库总览入口已合并,设置与帮助集中到应用菜单;面板切换保留文件选择、筛选和草稿。
变更类型
关联 Issue
Closes #31
变更内容
设计文档(Wiki)
https://github.com/ShaoClean/remote-git/wiki/Issue-31
验收及前后截图:https://github.com/ShaoClean/remote-git/wiki/Issue-31-Validation
Wiki 修订:bd3a32186bc1a8f6dac64eb8325b25266daebf51(已补齐 Issue / PR 反向链接与功能索引)。
验证
兼容性与风险
未改 SSH / Git API 或存储版本。旧宽度保持,新增偏好字段兼容补齐。首次在隐藏工作树目录启动桌面测试时,Express 静态服务返回 404;复制同一构建到普通临时目录后通过集成测试。
本 PR 已于 2026-09-16 合并。用户随后确认已验证、报告的问题均已解决,按用户请求将 Issue #31 更新为已完成并关闭。此前自动验收未覆盖真实 SSH 服务器和 Windows / Linux 桌面;本次状态更新不新增这些环境的逐项测试记录。
提交前检查