dean/get-video-card-query #250
Open
dean
wants to merge 2 commits from
dean/get-video-card-query into master
pull from: dean/get-video-card-query
merge into: railbird:master
railbird:master
railbird:loewy/add-first-activity-at
railbird:dean/player-cluster-username
railbird:dean/player-summaries-avg-difficulty-types
railbird:dean/player-summaries-longest-run-types
railbird:dean/video-match-score-types
railbird:dean/player-summaries-types
railbird:dean/player-labeling-ops
railbird:dean/labeling-api-types
railbird:dean/leaderboard-default-top-50
railbird:loewy/scoped-upload-quotas
railbird:loewy/add-init-file-status-to-get-stream-op
railbird:ivan/manual-entitlement-abstraction-gql
railbird:ivan/ground-truth-admin-workflow-gql
railbird:processing-clone-labels
railbird:dean/soft-delete-videos
railbird:dean/mobile-web-auth-handoff
railbird:dean/add-followers-to-get-user
railbird:dean/add-avg-difficulty-query
railbird:dean/feed-pocket-size
railbird:dean/add-has-following-to-feed
railbird:loewy/add-reaction-count-video-filter
railbird:ivan/remove-protobuf-restrictions
railbird:dean/update-runs-gql-operation
railbird:mk/video-comments
railbird:mk/video-reaction
railbird:mk/extend-makes-medals
railbird:kat/add-id-processing
railbird:volodymyr/get-user-videos
railbird:volodymyr/privacy
railbird:loewy/include-id-in-homography-info-gql
railbird:volodymyr/check-homography
railbird:kat/current-processing
railbird:kat/video-card-feed
railbird:kat/image-uri-feed
railbird:kat/add-feed
railbird:kat/add-get-feed-videos
railbird:volodymyr/does-username-exist
railbird:kat/use-logged-in-user
railbird:kat/get-user-followers
railbird:kat/get-user-following-followers
railbird:kat/return-following-followers
railbird:kat/return-username
railbird:kat/user-relationships-result
railbird:kat/update-gql-v2
railbird:kat/updategql
railbird:kat/use-use-gql
railbird:kat/use-user-gql
railbird:kat/remove-user-ids
railbird:kat/update-operation
railbird:kat/update-get-username-ids
railbird:kat/delete-usernames
railbird:kat/usernames-following-response
railbird:kat/update-usernames-and-following
railbird:volodymyr/fix-cache-merge
railbird:kat/add-get-usernames-following-operation
railbird:kat/add-usernames-response
railbird:kat/following-followers
railbird:ivan/add-client-side-start-and-end-time
railbird:kat/reserved-get-shots-query
railbird:kat/add-day-back
railbird:kat/update-gql
railbird:kat/get-ids-back
railbird:kat/use-fragment-get-shots
railbird:kat/delete-unused-get-shots
railbird:kat/create-shot-fragment
railbird:kat/create-get-shots-by-id
railbird:ivan/generic-range-filters
railbird:ivan/add_pocket_angle_features
railbird:update
railbird:kat/expose-frames-per-second
railbird:kat/add-stream-type-get-videos
railbird:kat/support-shot-pagination
railbird:mk/add-error-return-to-upload-links
railbird:mk/table-size-non-optional-int
railbird:kat/paginate-get-shots
railbird:kat/create-get-video-for-clip-calculation
railbird:micah/add-resolution
railbird:ivan/add-workflow
railbird:update-agg-gql
railbird:kat/add-shot-queries
No Reviewers
Labels
No items
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
alexmalison
bcorner
colonelpanic
countablecloud
dean
kkathuang
loewy
micah_weitzman
wgester
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: railbird/railbird-gql#250
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "dean/get-video-card-query"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Three new read operations to support the mobile session-detail redesign and
two payload optimizations. All reuse existing resolvers (
getVideo,getFeedVideos,getOrderedShots) — no backend/schema changes.GetVideoCard($videoId)Returns the full
VideoCardFieldsfragment for a single video. Lets thesession-detail meta header share one source of truth (and the normalized
Apollo cache) with the feed card, instead of stitching together
GetVideoDetails+GetVideoSocialDetailsById.GetLastSessionDate(lean)Most-recent session
startTimeonly, for the Home "you haven't recorded inN days" nudge — which previously pulled the entire
VideoCardFieldspayload(reactions, comments, player summaries, tags, stream metadata) just to read
one timestamp.
GetShotClipRanges/ShotClipRangefragment (lean)Per-shot frame/time window only (
id,videoId,startFrame,endFrame,startTime @client,endTime @client). The inline session player uses thisfor condensed clip seeking instead of
ShotWithAllFeatures— which draggedcue/pocketing features, base64 serialized shot paths, and annotations for up
to 500 shots per session open. The
@clienttime resolvers only need theframe fields (they look the video up internally), so this is safe.
How it was generated
src/operations/*.gql(feed.gql,shots.gql,video.gql).just gql; generatedindex.tsxis in sync (verified thecanonical run reports no further diff).
Notes for reviewers
Mobile consumer:
railbird-mobile#dean/brand-design-overhaulbumps itssubmodule pointer to this branch. Merge this first, then the mobile PR's
pointer should be updated to the merged commit.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.