Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Docs: the inbox, what lands in it and why, its tabs and actions | 1 | import type { Pull } from "@g1t/contracts"; |
| 2 | ||
| Usage, Billing settings and prepaid AI credit; fixes from the UX audit | 3 | import type { Drift } from "../lib/branches"; |
| Merge commit authors and hovercards: commits show their accounts, every name opens a card (repos 0016) | 4 | import type { CommitPerson } from "../lib/commit-people"; |
| Merge branch 'worktree-agent-ae1299e92e4462012' | 5 | |
| Merge branch 'worktree-agent-a7823ad540eb3433b' | 6 | /** A branch other than the default as Branches lists it: its head, how far it has moved, its pull request and preview. */ |
| Docs: the inbox, what lands in it and why, its tabs and actions | 7 | export type ActiveBranch = { |
| 8 | name: string; | |
| The Branches page does things to branches now. It has tabs (Overview, Yours, Active, Stale, All, kept in the address as ?tab=) and search; Overview shows the default branch, then the first five of your branches, the active ones and the stale ones, each linking to the rest. Each branch is a row with its name in a code chip with a copy button, who made its latest commit and when, that commit's checks, behind and ahead counts with bars drawn against the largest shown, and its pull request (the open one, else the newest merged or closed) with its state; on a phone the columns fold under the name. Yours is branches whose latest commit is the viewer's; stale is no commit in 90 days. | 9 | /** The commit it points to. */ |
| 10 | head: string; | |
| Merge commit authors and hovercards: commits show their accounts, every name opens a card (repos 0016) | 11 | commit: { hash: string; message: string; author: CommitPerson; coAuthors: CommitPerson[]; at: string } | null; |
| Usage, Billing settings and prepaid AI credit; fixes from the UX audit | 12 | /** Null when the two histories were not read far enough to meet. */ |
| 13 | drift: Drift | null; | |
| The Branches page does things to branches now. It has tabs (Overview, Yours, Active, Stale, All, kept in the address as ?tab=) and search; Overview shows the default branch, then the first five of your branches, the active ones and the stale ones, each linking to the rest. Each branch is a row with its name in a code chip with a copy button, who made its latest commit and when, that commit's checks, behind and ahead counts with bars drawn against the largest shown, and its pull request (the open one, else the newest merged or closed) with its state; on a phone the columns fold under the name. Yours is branches whose latest commit is the viewer's; stale is no commit in 90 days. | 14 | /** The open pull request from it, else the newest merged or closed one. */ |
| 15 | pull: { number: number; title: string; checkStatus: Pull["checkStatus"]; draft: boolean; status: Pull["status"] } | null; | |
| Docs: the inbox, what lands in it and why, its tabs and actions | 16 | preview: string | null; |
| 17 | }; |
This file's history is long; its oldest lines are credited to the oldest commit read.