Repository navigation
Conversation
|
Thanks! This PR was approved by a maintainer and is queued for review. |
8 of 12 tasks
isaacsa51
force-pushed
the
feat/island/second_container_expanded_media
branch
from
November 27, 2026 18:05
91c19bb to
b291917
Compare
1 task done
isaacsa51
force-pushed
the
feat/island/second_container_expanded_media
branch
from
November 28, 2026 07:38
b291917 to
3fd8bdc
Compare
isaacsa51
force-pushed
the
feat/island/second_container_expanded_media
branch
from
November 28, 2026 18:27
3fd8bdc to
f2e6f75
Compare
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.
Linked issue
Closes #1917
Description
This branch adds a way to attach an extra shape below the island's expanded view. It sits under the island the way the queue pill does, with the same connected-blob look between the two. Third-party apps can fill it through the Island SDK.
IslandPayloadgains anattachmentslist ofIslandAttachmentPayload. Each entry has a key, an anchor, a height, an optional title to match, and an optional beat period and offset.IslandAnchor.MEDIAis the first and only anchor so far.HostInfo.supportsAttachmentslets apps check whether the host supports attachments.IslandSurfaceKeycan now name attachment surfaces (theattach.prefix).IslandAttachmentsis a registry of attachments grouped by the app that sent them. It picks the attachment for an item by its anchor and, if one is given, a loose match on the track title.PayloadValidator,ProviderConnectionandRemoteExpandednow accept attachment payloads.RemoteAttachmentsturns each one into a live remote surface. The surface uses the height the app reports, or the declared height if none is reported, and only takes taps once the attachment has settled.IslandAttachmentSlothandles the attachment's position, its motion, and that connected-blob look.IslandAttachmentSurfacedraws an animated glowing rim in the item's accent color. When a beat is given, it pulses in time with it.IslandRootplaces the attachment below the expanded island and the queue pill, and grows the window bounds so the attachment fits.MEDIAanchor and passes along the track title, whether it's playing, and the live playback position from the newMediaSessionSource.positionMs. A lyrics app, for example, can then show synced content under the media island.Type of change
UI changes
Checklist
approvedand assigned to me.develop../gradlew assembleDebugand./gradlew testDebugUnitTestpass.