gitea/templates/repo/diff
Jimmy Praet bcb7f35221
Do not reload page after adding comments in Pull Request reviews (#13877)
Fixed #8861 
* use ajax on PR review page

* handle review comments

* extract duplicate code

FetchCodeCommentsByLine was initially more or less copied from fetchCodeCommentsByReview. Now they both use a common findCodeComments function instead

* use the Engine that was passed into the method

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2021-01-08 23:49:55 +02:00
..
blob_excerpt.tmpl Fix whitespace rendering in diff (#13415) 2020-11-04 09:14:07 +02:00
box.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
comment_form.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
comments.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
compare.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
conversation.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
image_diff.tmpl Search and Diff CSS enhancements (#14050) 2020-12-20 13:00:03 -05:00
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
new_review.tmpl Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
options_dropdown.tmpl Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00
section_split.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
section_unified.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
stats.tmpl Search and Diff CSS enhancements (#14050) 2020-12-20 13:00:03 -05:00
whitespace_dropdown.tmpl Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00