Move Claude Island from notch overlay to draggable menubar pill#55
Open
drorlazar wants to merge 1 commit into
Open
Move Claude Island from notch overlay to draggable menubar pill#55drorlazar wants to merge 1 commit into
drorlazar wants to merge 1 commit into
Conversation
Convert the app from a full-width notch overlay to a compact, draggable pill that floats in the menubar area near system icons. This makes the app usable on setups where the notch area is occupied by other apps (zNotch, Notchi) and on external monitors without a notch. Key changes: - Window is now 620pt wide, positioned near the right side of the screen instead of spanning full width - Pill is always visible with crab icon (even when Claude is idle) - Hover-based mouse event toggling: clicks/drags only work when cursor is directly over the pill, passing through to menubar items otherwise - Drag gesture to reposition the pill horizontally, position persists via UserDefaults across launches - NSStatusItem added as fallback (works on machines with fewer menubar items), with anchor position syncing - Removed hover-to-open and boot animation in favor of click-to-open - Geometry system uses anchorX for flexible positioning with screen-edge clamping Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
rosuH
pushed a commit
to rosuH/claude-island
that referenced
this pull request
Apr 14, 2026
…i#55) Add `nonisolated` markers to AnyCodable's init and encode methods to allow safe calling from the socket dispatch queue. Without these markers, Swift 6's strict concurrency runtime would trigger _dispatch_assert_queue_fail when decoding hook events.
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
Motivation
On setups where the notch area is occupied by other apps (zNotch, Notchi) or on external monitors without a notch, the original overlay was unusable. This change makes Claude Island work as a standard menubar-area widget that doesn't interfere with other status items.
Changes
ignoresMouseEventstoggling, removed hover-to-open in favor of click-to-open, anchor-based geometryanchorXfor flexible positioning with screen-edge clampingTest plan
🤖 Generated with Claude Code