Skip to content

优化 macOS 欢迎页样式与窗口尺寸,对齐 IDEA 社区版 - #949

Merged
1lck merged 5 commits into
previewfrom
codex/welcome-screen-styles
Sep 28, 2026
Merged

1lck merged 5 commits into
previewfrom
codex/welcome-screen-styles

Conversation

@arkleselect

@arkleselect arkleselect commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

功能改动

  • 按 IntelliJ IDEA Community 的 Islands Dark 欢迎页配色调整背景、文字、分割线、选中态及按钮描边;浅色模式沿用 IDEA 开源浅色主题配色。
  • 重新排列左上角 Logo、产品名与版本号;缩小最近项目标识,改用 IDEA 开源主题中的项目头像色系。
  • 将欢迎页左下角设置图标缩至 14pt。齿轮菜单提供设置、按更新状态变化的检查或安装入口,以及 Preview 版的“Return to Stable”;菜单使用与 codex/settings-panel-styles 设置页下拉框相同的深浅配色、圆角、行高和紧凑宽度。
  • 顶部统一“新建项目 / 打开 / 克隆仓库”按钮样式,并取消欢迎页交互项悬停时的手形光标。
  • 参照 IDEA Community FlatWelcomeFrame,将欢迎窗口默认内容尺寸和最小内容尺寸设为 800×650;不设置固定最大尺寸,随屏幕可用区域调整。
  • 更新跨平台功能矩阵及其生成文档。

审查意见修复

  • 恢复 Preview 版欢迎页的“Return to Stable”入口,复用原有回滚控件及下载前确认、进度、取消和安装流程。
  • 齿轮菜单按 UpdateStatus 分支:等待退出安装时提供“Continue Installation”并调用 retryInstallation();检查、下载和安装中显示不可点击的状态项;更新失败时沿用原有详情或重新检查入口。

参考源码:

CleanShot 2026-09-28 at 14 05 59

验证

  • macOS 预览构建成功,并实际打开欢迎页和左下角菜单检查布局与交互;验证用实例已关闭。
  • ./scripts/verify-service-boundaries.sh、./scripts/verify-platform-feature-matrix.sh、./scripts/verify-platform-feature-matrix-change.sh origin/preview HEAD、git diff --check origin/preview...HEAD 均通过。
  • 本次 ./scripts/test-macos.sh --filter UpdateCheckerTests 通过(15 项测试),包含等待退出安装的恢复入口测试;./scripts/verify-runtime-bundle-immutability.sh 随测试通过。
  • 本次完整 ./scripts/test-macos.sh 编译通过,但 1632 项测试报告 79 个问题,涉及 Git、运行配置、文档等测试;完整测试未作为通过项。

@ghfind-review ghfind-review Bot added the review: medium ghfind author score; see https://ghfind.com label Sep 28, 2026

@xiaoyumuxi xiaoyumuxi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

发现两个欢迎页更新入口的行为回归,见 inline comments。

Comment thread macos/Sources/Lithe/Views/App/WelcomeView.swift
Comment thread macos/Sources/Lithe/Views/App/WelcomeView.swift
@1lck
1lck merged commit 8463693 into preview Sep 28, 2026
5 checks passed
1lck added a commit that referenced this pull request Sep 28, 2026
* fix(macos): align workspace titlebar and project identity styling

* feat(macOS): 支持三套可切换的快捷键预设 (#946)

* feat(macos): add selectable keymap presets

* fix(macOS): resolve Eclipse keymap inheritance and Classic Stop binding

* fix(ci): allow Rust Core bridge job to finish on macOS

---------

Co-authored-by: Xiaoyumuxi <3075514079@qq.com>

* 优化 macOS 欢迎页样式与窗口尺寸,对齐 IDEA 社区版 (#949)

* style(macos): 对齐欢迎页与 IDEA 社区版样式

* fix(macOS): restore welcome update and stable rollback actions

---------

Co-authored-by: Lichenkang <2188718831@qq.com>

---------

Co-authored-by: Lichenkang <2188718831@qq.com>
Co-authored-by: Xiaoyumuxi <3075514079@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review: medium ghfind author score; see https://ghfind.com

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants