feat: add grid layout for Material/Samsung collection attachments (5/7) - #3181
Open
DeveloperBlue wants to merge 54 commits into
Open
feat: add grid layout for Material/Samsung collection attachments (5/7)#3181DeveloperBlue wants to merge 54 commits into
DeveloperBlue wants to merge 54 commits into
Conversation
…ecent, and gallery cards
…ttachments (swipe-to-reply, popover, reply preview)
…ollapsed galleries via coversPartId
…l for mixed attachments
…e title and card widgets.
…attachments from collection cards
…ing-to message box
DeveloperBlue
force-pushed
the
developerblue/collections/grid
branch
from
August 10, 2026 05:54
5c9d905 to
abb2745
Compare
DeveloperBlue
force-pushed
the
developerblue/collections/grid
branch
2 times, most recently
from
August 15, 2026 08:14
eb22904 to
abb2745
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.
Adds a Google Message/Material-inspired grid for multi-attachment media collections on Material and Samsung skins.
Built on top of #3176 (collage layout) and continues toward #3147 / #3122.
CollectionGroupGrid— composable layout bands on a shared 3-column grid+Noverflow cell when count > 7 — tap opens fullscreen; long-press expands remaining items inlineI had a lot of fun with this one, the way the grid composes itself and expands is pretty nice.
long-press-expand.mp4
Changes (commit-by-commit)
CollectionGroupGrid— Material/Samsung grid widget (bands, chrome, reactions, download wrap)MessagePartContent/ layout resolve uses grid for non-iOS collections+Nsee-more cell — overlay count when truncated; tap → fullscreencollections/CLAUDE.mdHeroStack(n)/SquareRow(n)packing for expanded layouts+Ninline expand — load remaining items in place + hapticsPer-file changes
collections/collection_group_grid.dartNew grid layout: composable bands,
+Ntruncate/expand, silhouette clip, reactions, download wrap.collections/collection_attachment_card.dartGrid-aware chrome (no shadow, square cells, reaction overhang).
message_part_content.dartRoute Material/Samsung media collections to
CollectionGroupGrid.resolved_file_content.dartSquare/cover fill behavior for grid cells.
message_holder.dart/reply_bubble_section.dartAvatar inset + Material reply bottom spacing fixes.
collections/CLAUDE.mdRouting table (iOS collage/stack vs Material/Samsung grid) and grid ownership notes.
Partially addresses #3122 and #2605 and lays groundwork for #2812