To handle replies in the diff viewer, there are two key changes that must be made:
- We must have a way of managing drafts for all replies, so that user can publish or discard the replies. The Unified Review Banner project is responsible for this.
- Instead of just showing replies when hovering over a comment flag, we need to actually present UI for viewing threads and replying, with all the reply functionality of the review request page.
This document tackles the second change through a new comments popup.

Comments Popup
Existing versions of Review Board show a simple list of replies as a tooltip when hovering over comment flags (in diffs and file attachments). This is going to be replaced by a more advanced popup box. This will show any and all comments represented by that comment flag.
This is a miniature version of what you might see in a review on the review request page, but limited to this particular area being commented on. In it, you'll find the following:
- A header showing some details on the author, time, and locations. The header color will be our standard blue for published comments and green for draft comments. A callout arrow on the side points to the area commented on (we have LessCSS mixins to help create these).
- An issue banner, if the comment opened an issue, allowing it to be resolved right here.
- The contents of the comment.
- Any replies made to that comment.
Comment Flag Hover Behavior