stable

Clone or download

Read-only

Possibility to add inline-comments on left side for deleted lines

Part of story #11667 Finish pull request side-by-side diff How to test: - Add a comment on an added line - Add a comment on an unmodified line - Add a comment on a deleted line - Switch to the side by side diff --> The comment on the unmodified and the added line are displayed on the right side --> The comment on the deleted line is displayed on the left side - Add a comment on a deleted line of the left side - Refresh --> The comment is displayed on the left side Change-Id: Ie1be85e0300ba6dd01ccf11b0228eead55e073a6

Modified Files

Name
M plugins/pullrequest/include/PullRequest/InlineComment/Dao.php +3 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/InlineComment/InlineCommentCreator.php +3 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestInlineCommentPOSTRepresentation.php +6 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +15 −4 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/file-diff/codemirror-helper-service.js +6 −4 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-diff-component.js +10 −5 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/unidiff-component.js +21 −5 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/file-diff/file-diff-rest-service.js +5 −4 Go to diff View file
A plugins/pullrequest/www/scripts/src/app/file-diff/inline-comment-positions.js +21 −0 Go to diff View file