From 2bf7bccab33c61df7ed2deeba4bb06701a70d574 Mon Sep 17 00:00:00 2001 From: Rudy Fraser Date: Fri, 26 Jun 2026 16:41:59 -0400 Subject: [PATCH] fix(community-posts): move Blacksky-only badge into the action bar Place the purple Blacksky-only pill as the leftmost item in the secondary action row (left of Hide / Bookmark / Share / Menu) so it sits alongside the post-level actions instead of crowding the header. PostMeta no longer renders the badge or accepts postUri. --- src/components/Post/Embed/index.tsx | 1 - src/components/PostControls/index.tsx | 7 ++++++- src/screens/Messages/components/MessageInputEmbed.tsx | 1 - src/screens/PostThread/components/ThreadItemPost.tsx | 1 - .../PostThread/components/ThreadItemTreePost.tsx | 1 - src/view/com/post/Post.tsx | 1 - src/view/com/posts/PostFeedItem.tsx | 1 - src/view/com/util/PostMeta.tsx | 10 ---------- 8 files changed, 6 insertions(+), 17 deletions(-) diff --git a/src/components/Post/Embed/index.tsx b/src/components/Post/Embed/index.tsx index a6af0d808..914ffc65c 100644 --- a/src/components/Post/Embed/index.tsx +++ b/src/components/Post/Embed/index.tsx @@ -371,7 +371,6 @@ export function QuoteEmbed({ moderation={moderation} showAvatar postHref={itemHref} - postUri={quote.uri} timestamp={quote.indexedAt} linkDisabled /> diff --git a/src/components/PostControls/index.tsx b/src/components/PostControls/index.tsx index bac6acce9..7360b7574 100644 --- a/src/components/PostControls/index.tsx +++ b/src/components/PostControls/index.tsx @@ -29,6 +29,10 @@ import {useFormatPostStatCount} from '#/components/PostControls/util' import * as Skele from '#/components/Skeleton' import * as Toast from '#/components/Toast' import {useAnalytics} from '#/analytics' +import { + CommunityOnlyBadge, + isCommunityPostUri, +} from '#/components/CommunityOnlyBadge' import {BookmarkButton} from './BookmarkButton' import {HideButton} from './HideButton' import { @@ -312,7 +316,8 @@ let PostControls = ({ {/* Spacer! */} - + + {isCommunityPostUri(post.uri) && }