Repository navigation
Fix notification accent propagation after #15445 - #16388
austinywang wants to merge 1 commit into
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 3 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. Review configuration: ⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
All contributors have signed the CLA ✍️ ✅ |
CI failure attributionCI failed on
Matched log linesNot re-run automatically: Written by |
|
Coordinating the #15488 main full-suite repair in #16386: the current compile failure is now |
|
The focused browser compile PR #16395 confirms the optional URL error is fixed; its only remaining compile failure is the duplicate |
teamleaderleo
left a comment
There was a problem hiding this comment.
Merging this onto current main breaks the compile. Main already declares @Environment(\.cmuxAccentColor) private var cmuxAccent in NotificationsPopoverView (after keyboardShortcutSettingsObserver, Sources/Update/UpdateTitlebarAccessory.swift:2366). This PR adds the same property on the line after the struct header, and git merges both without a conflict. git merge-tree origin/main on this head gives two cmuxAccent declarations at lines 2364 and 2367, which is an invalid redeclaration. The other hunk only removes a blank line. Main already applies .cmuxAccentColorEnvironment() at the three hosting roots (lines 2023, 2266 and 3140), so this PR looks fully superseded.
|
Closing: main already declares cmuxAccent in NotificationsPopoverView and applies cmuxAccentColorEnvironment at the hosting roots (2c33e92). |
The notification titlebar and popover views now receive the configured cmux accent instead of falling back to the default blue. This follow-up completes the two actionable review findings from merged PR #15445 by injecting the accent environment at the titlebar and both notification popover hosting roots, and by keeping the popover row and badge reads environment-backed.
Related: #15445
Validation:
python3 scripts/swift_file_length_budget.pypython3 scripts/verify-local.py --only swift-syntax --swift-changed origin/mainChangelog
Fixed: notification unread indicators now follow the configured cmux accent in titlebar and popover hosts.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Fixes the notification titlebar and popover to use the configured cmux accent color instead of falling back to the default blue. This completes the remaining review findings from #15445 by injecting the accent environment into the notification popover view and keeping the popover row and badge reads environment-backed.
Written for commit a8b68ad. Summary will update on new commits.