From 31f9852f4b61460fbb195a802e004d4898edcee1 Mon Sep 17 00:00:00 2001 From: Dean Wenstrand Date: Wed, 8 Jul 2026 09:57:50 -0700 Subject: [PATCH] Add clientUploadStatus to VideoCardFields stream fragment Lets the feed/session card distinguish camera/bridge recordings (clientUploadStatus UPLOAD_DISABLED, phone never uploads) from phone uploads, so it can stop showing 'UPLOAD PAUSED' for recordings. Co-Authored-By: Claude Opus 4.8 --- src/index.tsx | 5 +++++ src/operations/feed.gql | 1 + 2 files changed, 6 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index f21d3b1..3fbec60 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -4688,6 +4688,7 @@ export type GetFeedQuery = { streamSegmentType: StreamSegmentTypeEnum; isCompleted: boolean; lastSegmentUploadedAt?: any | null; + clientUploadStatus?: ClientUploadStatusEnum | null; } | null; tags: Array<{ __typename?: "VideoTag"; @@ -4801,6 +4802,7 @@ export type VideoCardFieldsFragment = { streamSegmentType: StreamSegmentTypeEnum; isCompleted: boolean; lastSegmentUploadedAt?: any | null; + clientUploadStatus?: ClientUploadStatusEnum | null; } | null; tags: Array<{ __typename?: "VideoTag"; @@ -4947,6 +4949,7 @@ export type GetVideoFeedQuery = { streamSegmentType: StreamSegmentTypeEnum; isCompleted: boolean; lastSegmentUploadedAt?: any | null; + clientUploadStatus?: ClientUploadStatusEnum | null; } | null; tags: Array<{ __typename?: "VideoTag"; @@ -7880,6 +7883,7 @@ export type GetVideoCardQuery = { streamSegmentType: StreamSegmentTypeEnum; isCompleted: boolean; lastSegmentUploadedAt?: any | null; + clientUploadStatus?: ClientUploadStatusEnum | null; } | null; tags: Array<{ __typename?: "VideoTag"; @@ -8706,6 +8710,7 @@ export const VideoCardFieldsFragmentDoc = gql` streamSegmentType isCompleted lastSegmentUploadedAt + clientUploadStatus } tableSize pocketSize diff --git a/src/operations/feed.gql b/src/operations/feed.gql index d4d50dc..df1d71d 100644 --- a/src/operations/feed.gql +++ b/src/operations/feed.gql @@ -44,6 +44,7 @@ fragment VideoCardFields on VideoGQL { streamSegmentType isCompleted lastSegmentUploadedAt + clientUploadStatus } tableSize pocketSize