Embed galleries: use the attachment mosaic and the lightbox (after Text chat 22) #319

Open
opened 2026-11-12 17:57:48 +00:00 by charles · 0 comments
Owner

Text chat 23 (#273) draws an embed gallery (up to 10 images of embeds sharing a URL, RichEmbed/BlueskyEmbed -> AttachmentMosaic) as a plain grid of square tiles (two per row, three for more than four), because the attachment mosaic of Text chat 22 (widgets/message_content/mosaic.rs, mosaic::layout(n)) was not on textchat yet.

Once Text chat 22 is merged: switch embed::gallery_view (crates/fluxer-ui/src/widgets/message_content/embed.rs) to mosaic::layout, and make embed images open the lightbox as the original does (today a click on an embed image does nothing; videos and YouTube open the browser).

Text chat 23 (#273) draws an embed gallery (up to 10 images of embeds sharing a URL, `RichEmbed`/`BlueskyEmbed` -> `AttachmentMosaic`) as a plain grid of square tiles (two per row, three for more than four), because the attachment mosaic of Text chat 22 (`widgets/message_content/mosaic.rs`, `mosaic::layout(n)`) was not on `textchat` yet. Once Text chat 22 is merged: switch `embed::gallery_view` (`crates/fluxer-ui/src/widgets/message_content/embed.rs`) to `mosaic::layout`, and make embed images open the lightbox as the original does (today a click on an embed image does nothing; videos and YouTube open the browser).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#319
No description provided.