SurfStage

docs / reviewing

Pull requests and diffs

Read a change, comment on lines, suggest edits.

The diff

The diff tab shows every changed file in one scroll, with a list of files at the top. Large pull requests open straight away and load as you scroll.

  • n and p jump between unresolved threads.
  • ] and [ jump between files.
  • Generated files, like lock files, start folded.

Viewed files

Tick viewed on a file to fold it away. If someone pushes to it later, it opens again, marked changed since you viewed. Viewed files are shared with GitHub.

Comments

Click a line number to comment on that line, or Shift-click a second line to cover a range. Comments stay pending until you submit your review.

To propose an edit, use suggest a change in the comment box and edit the code inside the block. The author can commit it from GitHub or SurfStage.

Threads

Reply in a thread, or resolve it when it's done. Resolved threads fold to one line. When someone suggests a change, commit suggestion applies it to the branch (it asks first).

The conversation

Long conversations fold into a short digest. What needs you is listed at the top: a click jumps to it. expand all shows every message.

Your review

Write an overall comment in the reply box, choose comment, approve or request changes, then press ⌘↵. ⇧⌘R inserts one of your saved replies.

Your agent can draft a review for you: see Review drafts.

Check it out locally

The ⋯ menu can check a pull request out in its own folder and open it in your editor or Terminal. Opening someone else's fork asks first.