Cmd-K: a pull's actions

On a pull page, either tab, press Cmd-K (Ctrl-K) and the palette lists what the page lets you do, under "This pull". Type a verb ("close", "check", "reopen") and press Enter. Every row is something the page itself offers you; a reader is never shown a row the server would refuse.

Both tabs build their rows from one function, pullRoster (src/web/studio/pull_roster.ts), from the values the page already draws its controls by.

On both tabs

On the Conversation tab the page folds its actions away, so these rows are links that land on them: Ship (read "Bring up to date" on a conflict), Check again, Hold, Close pull request, Edit and Take it back, each shown by the rule the page shows its control by.

On the Files tab

How a row posts. A row that changes something carries the fields to post; the palette builds a hidden same-origin form with them and submits it, exactly as the page's button would, so the server's same-origin and permission checks apply unchanged. It is never followed as a GET, and it is not kept in Recent, where replaying it would be one.

Not in the palette: land-past, resolving a review thread and per-line review comments. They need typed input or a place in the diff, so they stay on the page.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs