Repository navigation
Feat/apple style UI - #176
Merged
Merged
Conversation
基准色板从参考实现那组奶油/墨绿换成 macOS 系统语义色(浅 #f5f5f7/#1d1d1f,深 systemGray6→4 的阶梯),强调色两个外观都用 apple.com 的 #0071e3 —— 白字压在系统蓝 #007aff / #0a84ff 上过不了可读性护栏要求的 4.5:1。旧的墨绿整套留在 COLOR_THEMES 里当一档,默认档换成新的 apple。 控件跟着这套色走:菜单选中行改成强调色实底白字(NSMenu)、各面板统一到 8px 圆角, 输入框抽成 .apple-field、按钮抽成 .apple-btn、设置与搜索面板抽成 .apple-sheet。 macOS 上窗口开 vibrancy,渲染层按 data-vibrancy 把窗口底和主面板改成半透明玻璃。
原先任务清单是输入框上方那张卡片(收起是一颗球),子代理只能去转录里翻,而后台 shell 根本没有界面 —— 模型 run_in_background 起的进程用户既看不到也停不掉,只能 等它占着端口。三样东西回答的是同一个问题,所以进同一颗浮在转录上方的胶囊。 后台 shell 这一栏读的是主进程注册表(按工作区筛,不随 run 结束): listBackground / peekBackground / killBackground + backgroundChanged 全量广播。 peek 看的是与 BashOutput 分开记的一条尾巴 —— 界面看一眼不会把模型还没读到的 输出吃掉;停止走的就是 KillShell 那条路,状态记成 killed。
DevicesPage 加了「还没在别的机器上装服务?」那一段:三步 + 三条原样可复制的命令 (与 docs/device-service.md 同一份),一台设备都没有时默认展开,已有设备的用户 不点就不占地方。这一页真正会失败的地方是照着文档敲错一条命令,所以命令直接写在页面上。 DataPage 把 configSync 的 signedOut / invalidData / accountChanged / busy 各自映射 成文案,其余未知码兜底成通用失败文案 —— 之前会把 i18n key 原样丢给用户。
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.
No description provided.