forgejo-federation/templates/repo/issue
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
..
labels Improve label and text wrapping (#14113) 2020-12-29 18:48:28 -05:00
view_content Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
branch_selector_field.tmpl fix branch selector on new issue page (#14194) 2020-12-31 13:32:11 -05:00
choose.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
comment_tab.tmpl Attachments: Add extension support, allow all types for releases (#12465) 2020-10-05 01:49:33 -04:00
label_precolors.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
labels.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
list.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
milestone_issues.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
milestone_new.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
milestones.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
navbar.tmpl Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
new.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
new_form.tmpl Style and template tweaks (#13828) 2020-12-04 12:18:37 +01:00
openclose.tmpl Markdown and Repo header tweaks (#13744) 2020-11-29 17:52:11 +02:00
search.tmpl Disable search box autofocus on issue/pr pages (#12229) 2020-07-26 22:43:14 -04:00
view.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
view_content.tmpl add thumbnail preview section to issue attachments (#13826) 2020-12-13 21:12:27 +02:00
view_title.tmpl Style and template tweaks (#13828) 2020-12-04 12:18:37 +01:00