Group consecutive images into a Telegram-style mosaic #11
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
robocub/vommet#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
When someone posts several pictures in a row, Telegram shows them as one compact mosaic. Commet shows each picture as its own message in a long vertical column, at inconsistent sizes. A four-picture post that takes one screen in Telegram takes three or four in Commet. In a side-by-side comparison of the same four-picture post, Telegram fits it in a 2+2 grid about one screen tall; Commet stacks four separately sized pictures in a single column. (The comparison screenshots show a real person's posts, so they are not attached to this public issue.)
What exists
m.image), and that is what bridges like mautrix-telegram send for a Telegram album.Wrap(timeline_event_view_attachments.dart), so nothing ever lays out pictures from different events together.shouldShowSenderintimeline_event_view_message.dart), so the timeline already knows about "runs" by one sender.Plan
info.w/info.hfrom the event so the layout doesn't jump while images load. Cap at about 10 tiles per block; the rest becomes a "+N" tile.m.gallerymsgtype (MSC4274, open, unstable prefix per the MSC) the same way, so galleries sent by clients that support it display properly.Acceptance
Filed with LLM assistance. This is a fork-only issue; never refile it on Commet's tracker.