Add username + profileImageUri to PlayerClusterGQL
Some checks failed
Tests / Tests (pull_request) Failing after 9s
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:
14582
src/index.tsx
14582
src/index.tsx
File diff suppressed because it is too large
Load Diff
@@ -30,6 +30,8 @@ fragment PlayerClusterFields on PlayerClusterGQL {
|
|||||||
clusterId
|
clusterId
|
||||||
nShots
|
nShots
|
||||||
userId
|
userId
|
||||||
|
username
|
||||||
|
profileImageUri
|
||||||
confirmed
|
confirmed
|
||||||
score
|
score
|
||||||
shots {
|
shots {
|
||||||
|
|||||||
@@ -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!]!
|
||||||
|
|||||||
Reference in New Issue
Block a user