From 7a9eabbf757c7c662324b1bbf303b87c041b6827 Mon Sep 17 00:00:00 2001 From: vineyardbovines Date: Thu, 4 Jun 2026 17:29:06 -0400 Subject: [PATCH] Resolve merge: keep fallback path for gallery embeds 10707 grouped 'gallery' with 'images' through ImageEmbed. On the OTA branch, gallery should dispatch to GalleryFallbackEmbed instead so older native builds show the update prompt. Also dedupes the duplicate gallery branches the auto-merge left in the Embed type union and parseEmbed. --- src/components/Post/Embed/index.tsx | 6 ++---- src/types/bsky/post.ts | 9 --------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/components/Post/Embed/index.tsx b/src/components/Post/Embed/index.tsx index 98a89a77e5..eba80a8d85 100644 --- a/src/components/Post/Embed/index.tsx +++ b/src/components/Post/Embed/index.tsx @@ -57,8 +57,7 @@ export function Embed({embed: rawEmbed, ...rest}: EmbedProps) { case 'images': case 'gallery': case 'link': - case 'video': - case 'gallery': { + case 'video': { return } case 'feed': @@ -92,8 +91,7 @@ function MediaEmbed({ embed: TEmbed }) { switch (embed.type) { - case 'images': - case 'gallery': { + case 'images': { return ( } - | { - type: 'gallery' - view: $Typed - } | { type: 'post_with_media' view: Embed @@ -154,11 +150,6 @@ export function parseEmbed(embed: AppBskyFeedDefs.PostView['embed']): Embed { view: parseEmbedRecordView(embed.record), media: parseEmbed(embed.media), } - } else if (AppBskyEmbedGallery.isView(embed)) { - return { - type: 'gallery', - view: embed, - } } else { return { type: 'unknown',