GitHub pull request

A pull request whose checks resolve one at a time and unlock the merge.

0:00 / 0:01

Customize

128

Installation

pnpm odori add component github-pr

Edit the source in videos/components/github-pr/. Use odori diff to compare upstream changes and odori update to apply updates.

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Products
Recommended duration
210 frames · 7s
Minimum duration
120 frames · 4s
Entrance
16 frames
Exit
12 frames
Reduced motion
checks resolved from the first frame, no spinner
Requires
sans font, mono font
Content limits
title ≤ 72, branch ≤ 40, base ≤ 24, author ≤ 28

Props

PropTypeDefaultRequired
titleThe pull request title.string—Yes
numberThe number beside it.number128—
authorWho opened it.string"johndoe"—
branchThe branch it merges from.string"feat/agent-surfaces"—
baseThe branch it merges into.string"main"—
commitsCommits, as the byline states them.number3—
statsFiles and lines, as the summary under the byline states them.{files: number; additions: number; deletions: number}{files: 6—
checksChecks that resolve one after another, then unlock the merge.GithubCheck[]——
theme"light" | "dimmed""light"—

Related components

All components