Repository navigation
Conversation
An opt-in plugin for the MacBook Pro camera island (macOS 27) that shows each notification as a card growing out of the island, the way iPhone does: hover to keep it, swipe up to dismiss, pull down to open, click to open the exact item, and reply inline to Messages and Claude. A Notifications widget lists recent notifications stacked by app and opens or clears them through Notification Centre. Notification Centre stays the record: banners are hidden through Accessibility while a card shows and still go into its history; nothing is stored and notification text never reaches the logs. Accessibility work runs off the main thread with bounded timeouts. Off on every other Mac. The notch morph surface moves from NotchMenuBarPanel into Sources/PluginSupport/NotchMorphSurface.swift so the plugin can compile it; PluginKit is unchanged. The hover panel no longer opens under a card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The list measures itself only while it is on screen, so a list that grew while the panel was shut could open at its old height with the stacked cards' edges cut off. The widget now asks the host for its size again each time it becomes visible. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A panel can carry its own width, used while it is showing; no existing panel has one, so nothing changes unless a panel opts in. A full-width widget alone in such a panel fills its column. The Island Notifications list gets a dedicated Notifications panel, created once when the list first appears and only while the panel limit allows, sized so its cards match Notification Centre's 344 pt column. The notch panel now glides between sizes on a spring instead of snapping, with its content clipped to the surface while it changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The "No Notifications" line could report after the list had measured itself, shrinking the panel to the empty height and cutting off the notifications. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A message edited after its banner showed no longer matched the card's text, so replying said the conversation couldn't be found. The lookup now also compares the earlier versions Messages keeps for edits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the work on this! I reviewed
The existing 13 plugin tests pass. Isolated checks reproduced the Messages lookup, Claude identity-check, and history-matching issues using synthetic data; no real replies were sent. The privacy issue was confirmed from the code path, without a live Focus test. |
Messages: the conversation is looked up among messages received around the banner's arrival, not the last five minutes before Send. A card held open can no longer come to match a later message with the same text from someone else; opening from the card or the list uses the same window. Claude: the card's chat is looked up again by its id at send time, and the window is checked again before the text goes in and before Send. Another chat with the same title, now or in the sidebar, refuses the reply, and a reply that isn't sent is taken back only if the box still holds just it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stopping waited for any queued transcript read, up to a megabyte, on the main thread. The queue now keeps the reader alive until its queued work has run, and a turn read just before the stop is not shown after it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A row in Notification Centre now matches only with all of the notification's text, not its first 40 characters; text shortened with "…" on either side must still agree for 12 characters, and a notification with no text matches only a row with none. When two rows read the same, neither is opened or cleared: opening falls back to the app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…changes The plugin relies on host changes in this branch (a panel's own width and the hover panel staying shut over a card), which no released host has yet; the minimum host is now the next one, 2.2.4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rough a notice Claude chat cards were shown straight from Claude Code's session logs whenever the plugin was on, outside Focus and preview privacy. They are now a separate switch, off by default, and the logs are read only while it is on. A finished turn is posted as MacTools' own notification, and its banner becomes the card: MacTools' notification settings, Focus and hidden previews apply as for any app, the notice stays in Notification Centre's history, and nothing shows when macOS would show nothing. The guide now says how both reply targets are confirmed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pressing Send lifts the text out of the field, as a sent message leaves the Messages field, and the button turns to a spinner; the field keeps its height, so the card doesn't move. Sent shows a green check, then the card folds straight back into the island: its content shrinks toward the island and blurs while it fades, and stays inside the surface, which it used to spill past. A send that fails brings the text back. The keyboard now returns to the app once the card has gone, instead of the card blinking out and back as it closed, and the error line gets its own room instead of covering the message. The shared morph view gains an opt-in, off by default, that keeps its content inside the surface at every size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A reply of several lines left a tall empty field behind it, with "Sent" at the top and the check stranded at the bottom. Now the reply rises and fades inside the field, then the field shrinks back to one line as the Messages field does, and the card shrinks with it on the same spring, so "Sent" and the check share a one-line field. Growing a line while typing follows the same spring. A send that fails brings the field back to its text's height. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each new line made the field and card spring to their new height while the text kept the cursor in view, so the text bounced up and down. Lines added or removed while typing take effect at once again, as in Messages; only the field emptying back to one line after Send is animated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every read of MenuBarAgent removed and re-added all of its Accessibility subscriptions, and re-registering made MenuBarAgent report changes that started another read. Subscriptions now change only for elements that appeared or went, changes are coalesced to at most two reads a second, a hidden card checks its place at most twice a second, and MenuBarAgent is found once instead of scanning every running app on each read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the thorough review. All four are addressed:
Also on the branch:
Tests: new unit tests for the arrival window, the Claude chat recheck, the Claude notice matching (hidden preview, another app's banner with the same title, expiry) and the full-text row matching. The plugin's tests and the full XCTest suite pass on the branch (3,289 tests, 0 failures; 6 skipped by upstream's own settings), and |
…osing Escape, a click elsewhere or a system panel could be undone by moving the pointer on the island while the panel closed, because any hover reopened it. The panel now records why it closes: only a close because the pointer left is reversed by hovering back, while a click or shortcut still claims it. After a dismissal the hover owner opens the panel again only once the pointer has left the trigger and come back. A size requested while the panel was closing was dropped, so a panel that reopened kept its old bounds and could clip its content. The latest size is now kept and applied when it reopens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… island-notifications # Conflicts: # Plugins/NotchHoverPanel/Sources/NotchHoverPanelController.swift # Sources/App/NotchMenuBarPanel.swift # docs/plugins/preferences-backup-inventory.md
|
Follow-up: this branch had a merge conflict with |
|
Thanks for the updates! I rechecked Two safety issues still need addressing:
Both cases were reproduced with synthetic data; no real replies were sent, and Focus was not tested live. I'd recommend fixing these two issues before merging. Thanks again! |
… alerts A Claude card now takes a waiting turn only from MacTools' own banner that shows the posted text, when exactly one turn fits and macOS lists that request as delivered. Notices are posted only with permission and dropped if macOS refuses them. Any other banner keeps its own content. Banners found already on screen (at start, or while a read was skipped) are adopted with an unknown arrival time: no Messages reply field, and opening falls back to Messages itself. Lookups only count messages from around the arrival until the history has settled (15 s), and a card keeps the conversation it found. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed list entries A reply sent from a card now removes its notification, as replying from the notification itself does: from the panel's list, and from Notification Centre (a banner still alive is closed off screen; one already filed there has its row cleared, as the list's Clear does; MacTools' own Claude notice is removed directly). Opening an entry from the list removes it on the list's spring, as Clear does, so the cards below move up with the panel instead of leaving a gap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a label A short all-caps first line was always read as a header label such as TIME-SENSITIVE and dropped. An email from an all-caps sender then lost its sender, and the app was read as "Spark Desktop, SENDER", so the card and list entry had no icon or app. A line that the banner's description lists as its own part, right before the next line, is now kept as the title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ude reply Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude writes a reply that has thinking as two lines that both end the turn: the thinking, then the text, under one message id. The watcher reported both, the thinking line falling back to the last reply in the log, so the same reply was posted twice and the card's single-match check refused both, leaving two plain MacTools notifications. A thinking-only line is no longer a reply, each message id is reported once per session, a reply already waiting is not posted again, and copies of one chat's same reply count as one turn when matching. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…essages prefix
Claude replies:
- A sidebar entry is a button whose first text equals the chat's title,
however deeply Claude nests it (a selected or hovered row has more
groups). The exact first-child layout rejected the real row, so
replies failed with "chat not in the sidebar".
- Only "<title> - Claude Code" counts as the chat showing.
- The claude:// link is no longer opened to reply (it always brings
Claude forward); without a sidebar entry the reply fails and the
card opens the chat.
- A banner takes a waiting reply only when exactly one matches; the
merging of copies and the mismatch log are gone (each reply is
reported once by the log reader).
Messages: a banner matches only the start of a longer message when
macOS shortened it ("…" or the 1,024-character cut), so "See you
tomorrow" no longer matches someone else's "See you tomorrow at noon".
A group banner also matches its message without the group's name, and
attachment placeholders are ignored.
Reviewed with Fable 5.2 and GPT 6.2 Astra.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for rechecking, and for the clear repro cases. Both are addressed:
Also fixed while testing:
Checked by hand on the camera island (macOS 27):
The adopted-alert case is covered by unit tests only, and Focus was not tested live. Full suite: 3,361 tests pass; |
…econd card A Claude card shows the whole reply while its banner shows the start. Any later read of that notification window compared the banner with the card's text, saw a difference, took the banner for a newer notification and made a second, plain MacTools card from it, which then appeared in the list beside the Claude entry. Each card now keeps the banner's own text, and only a change to that counts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Claude card now has MacTools' own banner behind it, but three places still treated it as a card with no banner: - The shown card's banner is re-read twice a second for Claude cards too, so a second Claude turn macOS swaps into that banner becomes its card instead of being missed. - A window handed back to native closes its Claude card as well, so the card and the native banner never show together. - Opening or clearing a Claude card or list entry removes MacTools' notice from Notification Centre, as replying already did. Found in review by Fable 5.2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Two more fixes, found while testing on the camera island (macOS 27):
Checked by hand: one Claude card and one list entry per turn, and a Claude reply from a card that switched Claude to another chat in the background. Full suite: 3,362 tests pass, 0 failures (6 skipped); |
|
Thanks for the updates! I rechecked Two reply-safety issues remain:
Both cases were reproduced with synthetic data and a mock sender; no real messages were sent. The 27 existing plugin tests and 275 script tests pass. Thanks again for working through these safeguards! |
Builds on #542: its commits come first in this branch, so please review this after it. Closes #543.
Problem and result
On the MacBook Pro with the camera island (macOS 27), notifications still slide in at the top-right corner, while on iPhone they grow out of the Dynamic Island. This adds an opt-in plugin that shows each notification as a card growing out of the island:
Notification Centre stays the record: every notification still goes into its history, and Focus, notification styles and previews apply as before.
Changes
Plugins/IslandNotifications:refactor(notch)moves the morph spring, geometry, path and mask view fromNotchMenuBarPanelintoSources/PluginSupport/NotchMorphSurface.swift. The plugin compiles that file through itsproject.yml. PluginKit is unchanged.NotchHoverPanelControllerno longer opens the hover panel while the pointer is over an island card.MenuBarPanelDefinition.widthis an optional width used while that panel is showing. It is decoded if present, and normalization drops any value below the shared minimum. No existing panel has one, so for everyone else nothing changes.MenuBarPanelDefinition.dedicatedPanelsmaps the Notifications list to its panel: bell icon, 372 pt (Notification Centre's 344 pt column plus the list's 8 pt and the panel's 6 pt margins on each side). It is created once, during first reconciliation, only while the five-panel limit allows. After that it is an ordinary panel that can be edited or removed.fillsBand). Everywhere else widgets keep their declared size, as the contributing guide requires.NotchMenuBarPanelsprings width and height together. The window keeps the larger size and the content is clipped to the surface during the change (NotchMorphMetrics.windowContentSizeandrevealedContentSize). Reduce Motion keeps the old instant resize.clipsContentToSurface, off by default, so the hover panel is unchanged.docs/plugins/island-notifications.md), a plugin and an app changelog fragment, search terms and the panel name in 12 languages, and regenerated website and backup data.Verification
IslandNotificationStateTests(including reading an edited message's earlier versions),IslandNotificationHistoryTests,IslandLiveActivityGeometryTestsandMenuBarPanelStoreTests(two new tests: the dedicated panel is created once with its width while other panels have none; an invalid width is dropped), plus new tests for the reply arrival window, the Claude chat recheck, the Claude notice matching (other app, short text, two waiting turns, a request macOS refused, thinking lines), adopted alerts, shortened-only prefixes and the full-text row matching, within the full XCTest suite: pass, 3,362 tests, 0 failures (6 skipped by upstream's own settings)make script-tests: pass (changelog, localization, website data, backup inventory, and 275 tooling tests)UI evidence
Cards
Pull down to open the full message, then close it:
Full-quality video
Swipe up to dismiss:
Full-quality video
Notifications list
Full-quality video
Panel width
Before, a panel at the shared width, and the Notifications panel at its own width:
Switching between them:
Full-quality video
Captured from MacTools' own windows with test notifications. The recordings are built from rapid stills, because macOS hides banners while the screen is recorded. A Messages reply card is not shown: it needs a real incoming message.
The island surfaces are always dark, as Apple's are, so there is no light-mode variant.
Checklist
🤖 Generated with Claude Code