Repository navigation
cmux-next: a Dock bounce stops once its alert is read elsewhere - #21883
Conversation
…ounce without a banner Follow-ups from the #21735 review: - Until You Switch to cmux bounced on after the notification was read on the phone, from the CLI or by Mark All Read, since nothing cancelled the request. DockAttention (CmuxNextSettings) keeps the running request and cancels it when the unread count reaches zero. - `notify --desktop false` asks for no banner, so it gets no bounce either: the bounce follows the banner decision, not the alert decision. CmuxNextApp source shrinks by 2 lines (the bounce helper moved out). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated only: fleet export step at 644b20c. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
…tting Review of #21883: a settings module should not call app-wide AppKit. DockAttention moves to CmuxNextDesign with a bounce(untilActive:) API; NotificationCenterService maps notifications.dockBounce to it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Bead |
…ock-bounce-cancel # Conflicts: # schemas/settings-export/settings-schema.sources.sha256
|
Receipt for
|
|
Not verified: macOS jobs did not run: compile and app tests were skipped on CI passes on Written by |
Generated only: fleet export step at 05a097d. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Found 3 test failures on Blacksmith runners: Failures
|
Summary
These are two follow-ups from the review of #21735 (Dock bounce).
DockAttention(in CmuxNextDesign, with abounce(untilActive:)API that NotificationCenterService mapsnotifications.dockBounceonto) now keeps the running request and cancels it when the unread count drops to zero. The unread count comes from the daemon store, so a clear from any client reaches it.notify --desktop falseno longer bounces. That poster asks for no banner, so the bounce now follows the banner decision instead of the alert decision.The bounce helper moved out of the App, so CmuxNextApp's source still comes out 1 line under the base.
Known gap: an alert with no tab (for example
cmux notifywithout a surface) doesn't raise the unread count, so an until-you-switch bounce from it stops only when you switch to cmux, not when the alert is cleared elsewhere.Testing
package-test-lane.sh suiteat 4786f0d passedDockBouncePolicyTests(now including a no-banner case),FinishedBannerBurstTests,ApprovalBannerTestsandSettingsSchemaExportTests.DockAttentionis AppKit-only and isn't unit-tested, and I didn't try the cancel live in a tagged build.Changelog
Fixed: A Dock bounce set to last until you switch to cmux stops once the notification is read elsewhere, and
notify --desktop falseno longer bounces.🤖 Generated with Claude Code