Comment on a pull request
Use comments when you want the author to make a change, explain a decision, or confirm accuracy.
Before you start
- Open the PR in DraftView.
- Confirm you have comment permission for that queue item.
Steps
Open the file in the visual surface, then highlight the sentence or block you want to discuss. To start a comment from the keyboard, press Cmd+Option+M on macOS or Ctrl+Alt+M on Windows and Linux.
State what should change and why. Use concrete language that the author can act on.
Submit your comments from the review toolbar.
DraftView posts your comments to the PR review thread in GitHub.
Format your comment
DraftView renders comments as GitHub-flavored Markdown, so your comment looks the same in DraftView and in GitHub. You can use code spans, code blocks, lists, task lists, tables, and links.
Comments from GitHub, including review bots, render the same way. DraftView keeps the inline HTML that GitHub allows, such as badges and collapsible <details> sections, and removes scripts, styles, and other unsafe markup.
Comment on source-only files
When a reviewed file has no visual prose (such as an AsciiDoc attribute file or configuration document), DraftView displays it in a line-numbered source view. You can select individual line numbers or text on any line to comment directly on it.
Modified file notice
If a file in the pull request has modifications that cannot be displayed visually, DraftView shows a notice at the top of the file with a link to GitHub's file view so you can inspect the full change.
Reply to existing threads
DraftView shows the PR's existing GitHub review threads next to the text they discuss. Select Reply to answer a thread, or Resolve to close it. To open a resolved thread again, select Reopen.
DraftView holds your replies and resolve actions on GitHub threads until you submit your review, then sends them to GitHub with the rest of your feedback.
Manage threads in the comment lane
- Resolved threads leave the lane. Select Undo in the confirmation to bring a thread back right away, or select Show resolved to see all resolved threads.
- Long threads collapse when you aren't working in them. Select a thread to expand it.
- Threads from teammates appear without a reload. DraftView refreshes shared threads about every 20 seconds while the page is open.
- If a comment, reply, or edit fails to save, DraftView keeps your text in the box so you can try again. If you close a comment box with text in it, DraftView asks before it discards the text.
Comment on deleted content
DraftView shows content that the PR removes as inline deletion blocks in the review surface, including files that the PR deletes entirely.
To object to a deletion:
- Find the deletion block at the place where the content was removed.
- Select Comment on the block. DraftView quotes the deleted text into your comment so the author sees the full context.
- Submit your review. DraftView anchors the comment to the deleted lines in the GitHub diff, so the thread appears on the removed content itself.
Write comments that resolve faster
- Tie each comment to one issue.
- Include expected behavior or exact wording when possible.
- Ask one clear follow-up question if data is missing.