Port the unauthenticated/existing draft Comment Dialog changes to master.

Review Request #4146 — Created May 13, 2013 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Port the unauthenticated/existing draft Comment Dialog changes to master.

This updates the Comment Dialog to slim down when unauthenticated or
when there's an existing draft, just like the recent change for 1.7.

With this change, CommentEditor now requires a ReviewRequest. Unit tests
had to be updated to account for this.

Unit tests were also added for all the new states.
Tested manually with and without drafts, and with and without being logged in.

Unit tests pass.
    Loading...