diff options
author | hailey <me@haileyok.com> | 2025-05-21 11:15:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-21 11:15:55 -0700 |
commit | c16cd36b6447bc769a502cfc0e368a0f0bfaf2e0 (patch) | |
tree | d3e72617e4a20d3bae892a7307d487ef5461fc07 /src/state/queries/post-feed.ts | |
parent | e6c867a961a6dd99de2388ff5d4a3abb5431e55c (diff) | |
download | voidsky-c16cd36b6447bc769a502cfc0e368a0f0bfaf2e0.tar.zst |
add reqId to feed feedback (#8396)
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Diffstat (limited to 'src/state/queries/post-feed.ts')
-rw-r--r-- | src/state/queries/post-feed.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/queries/post-feed.ts b/src/state/queries/post-feed.ts index f3fa13cfb..920892924 100644 --- a/src/state/queries/post-feed.ts +++ b/src/state/queries/post-feed.ts @@ -92,6 +92,7 @@ export interface FeedPostSlice { isIncompleteThread: boolean isFallbackMarker: boolean feedContext: string | undefined + reqId: string | undefined feedPostUri: string reason?: | AppBskyFeedDefs.ReasonRepost @@ -316,6 +317,7 @@ export function usePostFeedQuery( userActionHistory.seen( slice.items.map(item => ({ feedContext: slice.feedContext, + reqId: slice.reqId, likeCount: item.post.likeCount ?? 0, repostCount: item.post.repostCount ?? 0, replyCount: item.post.replyCount ?? 0, @@ -333,6 +335,7 @@ export function usePostFeedQuery( isIncompleteThread: slice.isIncompleteThread, isFallbackMarker: slice.isFallbackMarker, feedContext: slice.feedContext, + reqId: slice.reqId, reason: slice.reason, feedPostUri: slice.feedPostUri, items: slice.items.map((item, i) => { |