Add extensibility to the comment issue bar on the review page

Review Request #7841 — Created Dec. 31, 2015 and discarded — Latest diff uploaded


Review Board


Add a hook to support additional UI on the comment issue bar on review page.

This hook is called CommentIssueBarActionHook. It allows an extension to render
additional UI for a comment in the comment issue bar. The hook makes itself and
the CommentIssueManager instance available to the extension. The extension can 
use the CommentIssueBar instance to manage the UI elements and the 
CommentIssueManager instance to set or get the extra_data for the comment.

CommentIssueManager exposes two new APIs getCommentExtraData and 
setCommentExtraData which can be used by the extension to manage custom fields.
Tested with an extension that I am developing. I was able to see the parameters
that I had set in extra_data and modify them from the extensions.