feat(windows): polish tray UX and route transitions - #230
Open
EnderXie23 wants to merge 2 commits into
Open
Conversation
EnderXie23
marked this pull request as ready for review
July 23, 2026 15:43
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.
Summary / 摘要
Type / 类型
Platform / 平台
The tray and detached launcher are Windows-specific. Route timing is changed in the canonical runtime and synchronized byte-for-byte to both platform asset trees, per #216.
Self-check / 自测
Check what you actually ran. Skip items that do not apply and say so under Notes.
请勾选实际跑过的项;不适用的在 Notes 说明。
Docs-only / 仅文档
macOS (when code under
macos/changes)macos/tests/run-tests.shpassed / 已通过macos/scripts/doctor-macos.shverify-dream-skin-macos.shor Desktop VerifyWindows (when code under
windows/changes)install/start/verify/restorescripts exercised / 已按改动跑过对应脚本User-facing / 用户可见变更
macos/CHANGELOG.md(andmacos/VERSIONif release-worthy) / 已更新 changelog(发版时再 bump VERSION)Security / 安全
127.0.0.1) where applicable / CDP 仍仅本机回环(如适用)Root cause and behavior / 根因与行为
data-dream-route-phase=prepareduring the navigation event, advances tosettlingon the next animation frame, and cancels/replaces prior frames and timers. It still avoids DOM-subtree observation, layout reads, and Codex business-class mutation.ContextMenuStripgeometry and could throw when its first item was added to an empty collection. The new native renderer uses rounded clipped surfaces, neutral hover/divider styling, content-driven width, a consistent text grid, safe empty-menu insertion, and explicit resource cleanup.start-dream-skin.ps1starts the tray only after verification and only when the tray mutex is free, so the foreground launcher does not remain occupied.Notes / 补充
mainat0f00dce(includes feat(runtime): unify cross-platform skin runtime behind measured selector contract #216).26200.8655; Windows PowerShell5.1.26100.8655; Node.jsv24.13.1; registered Microsoft StoreOpenAI.Codexpackage.node --check runtime/renderer-inject.jsnode --check windows/assets/renderer-inject.jsnode --check macos/assets/renderer-inject.jsnode tools/sync-runtime-assets.mjs --checknode tools/doctor-selectors.test.mjsnode --test tools/renderer-runtime.test.mjsnode --test windows/tests/renderer-inject.test.mjsnode --test macos/tests/renderer-inject.test.mjspowershell.exe -NoProfile -STA -ExecutionPolicy RemoteSigned -File windows/scripts/tray-dream-skin.ps1 -SelfTestpowershell.exe -NoProfile -ExecutionPolicy Bypass -File windows/tests/run-tests.ps1git diff --checkwindows/tests/run-tests.ps1are intentional fault-injection fixtures; the suite completed withPASS.main'sverify-dream-skin.ps1callsGet-DreamSkinThemePathswithout importingtheme-windows.ps1, so the standalone verifier stops before CDP inspection. This PR does not expand into that unrelated existing verifier bug.windows/scripts/tray-dream-skin.ps1; their scope is cleanup identity and AV/installation policy.windows/artifacts/files remain excluded.Screenshot / 截图
Rounded, content-sized Windows tray menu with semantic status color and a matching saved-theme submenu.