Add username + profileImageUri to PlayerClusterGQL
Some checks failed
Tests / Tests (pull_request) Failing after 9s

The labeling UI was falling back to "user N" for any assigned cluster
whose user wasn't the video owner — e.g. an admin re-labels a video
they don't own. With the resolver now resolving usernames for every
confirmed cluster, the FE can render real names regardless of who's
viewing.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dean Wenstrand
2026-05-11 17:16:28 -07:00
parent 5cf2dbaf01
commit ee12090121
3 changed files with 3896 additions and 10690 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -30,6 +30,8 @@ fragment PlayerClusterFields on PlayerClusterGQL {
clusterId clusterId
nShots nShots
userId userId
username
profileImageUri
confirmed confirmed
score score
shots { shots {

View File

@@ -882,6 +882,8 @@ type PlayerClusterGQL {
clusterId: Int! clusterId: Int!
nShots: Int! nShots: Int!
userId: Int userId: Int
username: String
profileImageUri: String
confirmed: Boolean! confirmed: Boolean!
score: Int score: Int
shots: [PlayerClusterShotGQL!]! shots: [PlayerClusterShotGQL!]!