stable

Clone or download

Read-only

Keep new comments in sync when switching diff mode

Part of story #11667 display diff side by side How to test: - Browse a pull request in Unified diff mode - Add a comment (or several) - Switch to Side-by-side diff - All the comments you just added are correctly shown Change-Id: I4b6bdfffb092a3c47091a1a5e076bc30362d29c8

Modified Files

Name
M plugins/pullrequest/www/scripts/src/app/file-diff/codemirror-helper-service.js +9 −4 Go to diff View file
A plugins/pullrequest/www/scripts/src/app/file-diff/comments-state.js +34 −0 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-diff-component.js +2 −1 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/unidiff-component.js +3 −2 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/file-diff/file-diff-component.js +2 −0 Go to diff View file