fix(desktop): blend macOS titlebar into sidebar - #23
Merged
Conversation
Luhaozhu
marked this pull request as ready for review
July 23, 2026 07:17
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 / 概述
Follow-up to #21 after the original PR was merged.
The macOS traffic-light safe area used a flat
#F5F6F7background while the sidebar below it renders a translucent blue gradient over the same base. This left a visible gray block above the sidebar.This change reuses the sidebar's exact first gradient layer in the safe area and keeps the existing dynamic sidebar-width tracking, so the titlebar remains visually continuous in both expanded and collapsed sidebar states. Layout and interaction behavior are unchanged.
Related issue / 关联 Issue
Follow-up to #21.
Type of change / 变更类型
document/**,README*.md)examples/**).github/**)Checklist / 检查项
document/en/**anddocument/zh-CN/**where applicable. 双语文档已同步更新(如适用)。Validation / 验证
cargo fmt --all -- --checkcargo test proxy::tests --lib— 7 passedcargo test --lib— 20 passedgit diff --checkHUGAGENT_RELEASE_BUILD=1 python scripts/build_ce.py --import-check --pytest-check --frontend-checkThe repository root has no
package.json, so the genericnpm run preflightcommand is not available; the repository's formal CE release checks above completed successfully, including the frontend production build.