Skip to content
Preview
Refresh the session on start #128Open

feat/session-refresh to main 3 commits 128 lines added, 36 removed

  1. Rename the refresh token helperc1a2b3c, Ada Lovelace, 1d ago
  2. Read the session before it expires7f6e5d4, Ada Lovelace, 3h ago, 1 conflict
  3. Rotate the key on start3b4c5d6, Grace Hopper, 2h ago, main
  4. Move the refresh after the rotation9d8c7b6, Ada Lovelace, 1h ago, 2 conflicts
Merge into main 3 conflicts

Grace Hopper changed the same lines in main

src/server/session.ts src/server/auth.ts
#128 3 conflicts

PullRequestCard

numberrequired
number
The pull request's number, drawn after a hash.
titlerequired
string
Its title, one line; a longer one ends with an ellipsis, the whole title on hover.
staterequired
"creating" | "draft" | "open" | "resolving" | "merged" | "closed"
Its state: the pill at the header's end says it and the graph draws it.
headrequired
string
The branch it comes from.
baserequired
string
The branch it merges into.
commitsrequired
readonly PullRequestCommit[]
Its commits, oldest first as the graph reads; a commit on the base carries branch={base}.
diff
{ additions: number; deletions: number }
The change's lines, from git's diff stat.
conflicts
{ count?: number; by?: string; files: readonly string[] }
Its conflicts with the base, when there are any.
action
{ label: string; onClick: () => void }
The card's one action, offered while the pull request is open or a draft ("Ready for review").
ended
{ at?: string; branchDeleted?: boolean }
How it merged or closed: when, and whether the head branch was deleted.
checks
ReactNode
Its checks on the head commit, at the end of the merge row: the kit's ChecksChip, or a ChecksPopover that opens them.
stateLabel
string
The pill's word for the state, when the product's own differs from the kit's.
leading
IconName | ReactNode
A status glyph name or node before the title: it starts on the card's text edge, and the title after it stands on the commits' text.
rootStyle
RootStyle
Where the card sits; its width is the product's.

Rest props go to HTMLAttributes<HTMLDivElement>.

numberrequired
number
The pull request's number, drawn after a hash.
staterequired
"creating" | "draft" | "open" | "resolving" | "merged" | "closed"
Its state.
conflicts
number
Default: 0
Its conflicts while it is open or a draft: the chip says them instead of its state.
stateLabel
string
The state's word, when the product's own differs from the kit's.
onClick
() => void
Opens the card, as a composer's chip does. Renders a button; without it, a chip of words.
rootStyle
RootStyle
Where the chip sits.

Rest props go to HTMLAttributes<HTMLSpanElement>.

State machine

PreviewThe pull request is ready for review.
Check the release build #128Open

feat/release to main 1 commit 24 lines added, 6 removed

  1. Check the builda41c7e2, Maya Chen, 2h ago
Merge into main