Commenting and reviewing

Comments in Markdown, replies in a thread, comments on lines, and a review or an approval, posted from the request.

A request’s Conversation tab is its timeline, oldest first: the comments, the reviews, and the review threads with the lines they are on. You can add to all three from here.

A comment

The box at the foot of the timeline, Leave a comment, posts with Comment or ⌘↩; Return starts a new line. What you write is Markdown, and the provider renders it as it renders any other comment.

  • Format, the menu at the end of the box and in the menu bar, writes the syntax for you: Format ▸ Bold (⌘B), Format ▸ Italic (⌘I), Format ▸ Strikethrough (⇧⌘X), a quote, code, a link and three kinds of list.
  • Preview, the eye beside it, shows the draft as the timeline will. It is Innesta’s rendering, not the provider’s, so mentions, references and emoji codes stay as you typed them.

A draft stays with its request while you look at another tab or another request, and survives a failed send. If the answer to a post never arrives, Innesta looks for the comment on the provider before it lets you send it again, so nothing is posted twice; when it cannot tell, Check Again asks once more.

A thread

A thread on a file opens with the file’s name, its lines and, when they apply, Outdated and Resolved. Under that are the lines it is on, numbered as the Files tab numbers them, and its comments. A resolved thread folds to one row, and its chevron opens it again.

  • Show in Files opens the file in the Files tab and selects the line the thread is on.
  • Reply opens a box under its comments.
  • Resolve and Unresolve do what they say, where the provider lets you.

On GitLab, Show Activity adds what happened between the comments — pushes with their commits, title and description changes, approvals — one row per event. It is off to begin with, and it stays as you leave it. GitHub’s timeline is not read, so a pull request has no activity rows.

A comment on lines

In the Files tab, select some lines, or point at one, and Comment… opens a comment right under them.

A comment on one line of the provider's diff, written under the line it is about. Tokeniser.swift already has a thread.

A comment covers one range, and the range can take removed and added lines together. It is posted as soon as you send it: there is no pending review to collect comments into and submit later.

GitHub accepts comments only on changed lines and the three lines around them; Innesta says so in the comment’s place, before anything is sent. A file with threads on its lines counts them in the file list.

The same comments can be written from Review Locally, with the request’s commits on your Mac.

A review

On GitHub, Review… opens a sheet with Comment, Approve and Request Changes, and a Review Comment, which only an approval can leave empty. GitHub lets nobody approve their own pull request, so its author is not offered the review.

On GitLab, Approve approves the merge request, and Revoke Approval takes it back.

Either is in the ⋯ menu of an open request. While you still owe one it is in the header too; otherwise it sits at the end of the reviewers in Overview.