Enable show less / more buttons for third party feeds (#8672)

Co-authored-by: hailey <hailey@blueskyweb.xyz>
Co-authored-by: Hailey <me@haileyok.com>
This commit is contained in:
kindgracekind
2025-08-26 14:16:50 -05:00
committed by GitHub
parent 98d96bd28b
commit 88e6dff484
11 changed files with 150 additions and 34 deletions
+2 -2
View File
@@ -176,7 +176,7 @@ let FeedItemInner = ({
const urip = new AtUri(post.uri)
return makeProfileLink(post.author, 'post', urip.rkey)
}, [post.uri, post.author])
const {sendInteraction, feedDescriptor} = useFeedFeedbackContext()
const {sendInteraction, feedSourceInfo} = useFeedFeedbackContext()
const onPressReply = () => {
sendInteraction({
@@ -234,7 +234,7 @@ let FeedItemInner = ({
})
unstableCacheProfileView(queryClient, post.author)
setUnstablePostSource(buildPostSourceKey(post.uri, post.author.handle), {
feed: feedDescriptor,
feedSourceInfo,
post: {
post,
reason: AppBskyFeedDefs.isReasonRepost(reason) ? reason : undefined,