1
0
Fork 0
forgejo/templates/repo
oliverpool 0fc61c8836 [BUG] split code conversations in diff tab (#2306)
Follow-up of #2282 and #2296 (which tried to address #2278)

One of the issue with the previous PR is that when a conversation on the Files tab was marked as "resolved", it would fetch all the comments for that line (even the outdated ones, which should not be shown on this page - except when explicitly activated).

To properly fix this, I have changed `FetchCodeCommentsByLine` to `FetchCodeConversation`. Its role is to fetch all comments related to a given (review, path, line) and reverted my changes in the template (which were based on a misunderstanding).

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2306
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: oliverpool <git@olivier.pfad.fr>
Co-committed-by: oliverpool <git@olivier.pfad.fr>
2024-02-16 12:16:11 +00:00
..
actions
branch Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
cite
code [GITEA] Rework when recently pushed branches are displayed 2024-02-05 16:09:43 +01:00
diff [BUG] split code conversations in diff tab (#2306) 2024-02-16 12:16:11 +00:00
editor [GITEA] Allow user to select email for file operations in Web UI 2024-02-05 16:09:41 +01:00
find
graph Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
issue [BUG] split code conversations in diff tab (#2306) 2024-02-16 12:16:11 +00:00
migrate Merge branch 'rebase-forgejo-dependency' into wip-forgejo 2024-02-05 18:58:23 +01:00
projects
pulls
release [gitea] Hide code links on release page if user cannot read code (#29064) 2024-02-10 10:53:42 +01:00
settings Show more settings for empty repositories (#29130) 2024-02-14 21:44:24 +01:00
tag
wiki [GITEA] Add cancel button to wiki 2024-02-05 16:09:40 +01:00
activity.tmpl Render code block in activity tab (#28816) 2024-01-16 22:38:09 +08:00
admin_flags.tmpl [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
blame.tmpl
branch_dropdown.tmpl [gitea] Rework spellchecking, add lint-spell (#29106) 2024-02-10 10:53:43 +01:00
clone_buttons.tmpl
clone_script.tmpl [GITEA] Configurable clone methods 2024-02-05 16:09:42 +01:00
commit_load_branches_and_tags.tmpl Wrap contained tags and branches again (#29021) 2024-02-02 04:51:09 +00:00
commit_page.tmpl Update JS and PY dependencies, build for es2020 browsers (#28977) 2024-02-02 09:36:32 +00:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl [GITEA] Detect file rename and show in history 2024-02-05 16:09:40 +01:00
commits_list.tmpl Show View at this point in history for every commit (#29122) 2024-02-14 21:44:24 +01:00
commits_list_small.tmpl Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
commits_table.tmpl
create.tmpl Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
create_helper.tmpl
empty.tmpl
file_info.tmpl Show in Web UI if file is vendored and generated (#28620) 2024-01-24 13:51:37 +08:00
flags.tmpl [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
forks.tmpl
graph.tmpl
header.tmpl Merge pull request 'Repository settings refactor' (#2221) from algernon/forgejo:repo-units/ui-refactor into forgejo 2024-02-14 13:29:04 +00:00
home.tmpl [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
icon.tmpl
latest_commit.tmpl Show latest commit for file (#28067) 2024-01-15 17:42:15 +01:00
packages.tmpl
release_tag_header.tmpl
search.tmpl
search_name.tmpl
shabox_badge.tmpl
star_unstar.tmpl Don't do a full page load when clicking Watch or Star (#29001) 2024-02-05 09:56:20 +00:00
sub_menu.tmpl
unicode_escape_prompt.tmpl Fix incorrect button CSS usages (#29015) 2024-02-01 21:28:50 +00:00
upload.tmpl
user_cards.tmpl
view_file.tmpl [GITEA] Disable the RSS feed in file view for non-branches 2024-02-05 16:09:42 +01:00
view_list.tmpl Show latest commit for file (#28067) 2024-01-15 17:42:15 +01:00
watch_unwatch.tmpl Don't do a full page load when clicking Watch or Star (#29001) 2024-02-05 09:56:20 +00:00
watchers.tmpl