Creating and Editing Reviews¶
Adding comments (General Comments, Diff Comments, or File Attachment Comments) will immediately create a new review if one doesn’t already exist. Once a review draft is created, the review banner will change to green.
Blank reviews can also be created without having to first add a comment. This can be useful if you have a generic comment about the change, rather than one specific to diffs or other files.
To create a new, blank review, click Create a new review in the menu in the review banner.
Clicking Edit your review in the review banner menu will display the review dialog, showing the entire contents of your draft review.
In this dialog, you can add a summary for your review, approve it for shipping, manage comments, and write text to appear at the top and bottom of your review. Toggling a checkbox or pressing Save on a text field will instantly save those changes, so you don’t have to worry about losing your work if you close the page.
The bottom of the dialog has the following buttons:
Add General Comment will add a general comment, which is not bound to any diff or file, to the review.
Publish Review will save any comments you have made on your review and immediately publish your review. See the documentation there on publishing options.
Discard Review will immediately discard your draft review, deleting all new comments you’ve made on that draft. This cannot be undone!
Close will close the review dialog.
Writing a Header¶
The top of the dialog contains a Header field, which is a free-form text field that lets you write some text that will appear before any comments in your review. This is a good place to provide a summary of your review or to provide general feedback (maybe something encouraging). This field supports Markdown text.
Unlike a comment, you won’t be able to file an issue with your header text. However, like a comment, people will be able to reply to it. If you want a comment not tied to a diff or file that allows for issue tracking, you’ll want to create a general comment.
Existing comments can be edited by clicking the comment text or pencil icon, entering new text, and clicking Save.
You can also change the issue tracking options here. These changes will be instantly saved.
New in version 3.0.
If you realize a comment doesn’t make sense on the review, you can delete it by clicking the trash can icon and confirming that you want to remove the comment. The comment will then be permanently removed from the review.
Adding General Comments¶
New in version 3.0.
General comments can be added directly in the Review Dialog by clicking Add General Comment at the bottom-left of the dialog. This will create a new comment entry, which you can fill out and save by clicking Save.
The list of general comments will appear at the top of the review, much like the review’s header. Unlike the header, you can have as many general comments as you want, and they all support issue tracking.
Note that these are not intended for reviewing actual code or files. They’re comments that apply to the review or task as a whole.