Select the detection audit payload on getTableState #315

Open
colonelpanic wants to merge 1 commits from dean/shot-lab-detection-boxes-gql into master
Owner

First of three: gql -> backend -> mobile.

Adds identifierToBox to TableStateGQL and selects it on the photo query, alongside the homography that was already in the schema but never requested. Together they let Shot Lab draw a detection back over the image it came from: boxes, pocket boxes, and source points all share the crop's coordinate space, and the crop locates that space in the full frame.

The live and shot queries keep the layout-only selection. Their frame lives inside a video the app never holds, so there is nothing to overlay, and getLiveTableState is polled every five seconds.

Backend Python: railbird#dean/shot-lab-detection-boxes
Mobile: railbird-mobile#dean/shot-lab-detection-overlay

Note for the backend pointer: dean/shot-lab-detection-boxes-backend is a keeper commit off the backend's current gql pointer, since exporting from backend master also reorders the share-link declarations this branch carries in their older positions. The next routine pointer bump to gql master reconciles it.

First of three: gql -> backend -> mobile. Adds `identifierToBox` to `TableStateGQL` and selects it on the photo query, alongside the `homography` that was already in the schema but never requested. Together they let Shot Lab draw a detection back over the image it came from: boxes, pocket boxes, and source points all share the crop's coordinate space, and the crop locates that space in the full frame. The live and shot queries keep the layout-only selection. Their frame lives inside a video the app never holds, so there is nothing to overlay, and `getLiveTableState` is polled every five seconds. Backend Python: railbird#dean/shot-lab-detection-boxes Mobile: railbird-mobile#dean/shot-lab-detection-overlay Note for the backend pointer: `dean/shot-lab-detection-boxes-backend` is a keeper commit off the backend's current gql pointer, since exporting from backend master also reorders the share-link declarations this branch carries in their older positions. The next routine pointer bump to gql master reconciles it.
colonelpanic added 1 commit 2026-08-01 02:45:54 +00:00
Select the detection audit payload on getTableState
All checks were successful
Tests / Tests (pull_request) Successful in 3m9s
594c89ab76
Adds identifierToBox to TableStateGQL and selects it, alongside the
homography that was already in the schema but never requested, so the
photo path can draw a detection back over the image it came from. The
live and shot queries keep the layout-only selection: their frame lives
inside a video the app never holds, and one of them polls every five
seconds.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
All checks were successful
Tests / Tests (pull_request) Successful in 3m9s
Required
Details
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dean/shot-lab-detection-boxes-gql:dean/shot-lab-detection-boxes-gql
git checkout dean/shot-lab-detection-boxes-gql
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: railbird/railbird-gql#315
No description provided.