Update diffviewer JS to set condensed diff properties
Review Request #7402 — Created June 10, 2015 and submitted — Latest diff uploaded
The diffviewer can now set the
condensed_diff
andbase_commit_id
on
individual diff comments in the database. These attributes are piped
from theRB.DiffViewerPageView
all the way to theRB.DiffComment
model.Some methods have been added to the
RB.DiffCommitIndexView
for
determining the currently selected range, if an inter-commit diff is
being displayed, and for determining the "distance" between two commits
(assuming the history is linear).
Made comments on diff commits. Checked the outgoing requests and
incoming responses and verified they were correct.