-
- Downloads
Merge branch 'support-comment-parallel-diff' into 'master'
Support commenting on a diff in side-by-side view ### What does this MR do? This MR adds support for commenting on a diff in side-by-side (aka parallel) view. It also fixes a JavaScript bug (see !779) when the comment button is clicked on a line that already has a comment. There is an existing bug where the comment count is not updated when a new comment is added. I'll send a MR for that later. ### Why was this MR needed? Commenting only worked in "inline" mode. Often the side-by-side view is more conducive to writing comments. ### What are the relevant issue numbers? Closes https://github.com/gitlabhq/gitlabhq/issues/9283 ### Screenshot  See merge request !810
No related branches found
No related tags found
Showing
- CHANGELOG 2 additions, 0 deletionsCHANGELOG
- app/assets/javascripts/notes.js.coffee 35 additions, 10 deletionsapp/assets/javascripts/notes.js.coffee
- app/controllers/projects/notes_controller.rb 15 additions, 2 deletionsapp/controllers/projects/notes_controller.rb
- app/helpers/notes_helper.rb 6 additions, 4 deletionsapp/helpers/notes_helper.rb
- app/views/projects/commit/show.html.haml 1 addition, 1 deletionapp/views/projects/commit/show.html.haml
- app/views/projects/diffs/_parallel_view.html.haml 5 additions, 1 deletionapp/views/projects/diffs/_parallel_view.html.haml
- app/views/projects/notes/_diff_notes_with_reply_parallel.html.haml 16 additions, 16 deletions.../projects/notes/_diff_notes_with_reply_parallel.html.haml
- app/views/projects/notes/_form.html.haml 2 additions, 0 deletionsapp/views/projects/notes/_form.html.haml
- app/views/projects/notes/_notes_with_form.html.haml 2 additions, 2 deletionsapp/views/projects/notes/_notes_with_form.html.haml
- features/project/commits/diff_comments.feature 14 additions, 0 deletionsfeatures/project/commits/diff_comments.feature
- features/steps/project/commits/commits.rb 1 addition, 8 deletionsfeatures/steps/project/commits/commits.rb
- features/steps/shared/diff_note.rb 40 additions, 0 deletionsfeatures/steps/shared/diff_note.rb
Please register or sign in to comment