forgejo/routers/web/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 Minor cleanup in ViewLatestWorkflowRun 2024-02-13 23:20:16 +01:00
badges [GITEA] Add support for shields.io-based badges 2024-02-05 16:09:42 +01:00
flags [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
setting Add merge style fast-forward-only (#28954) 2024-02-14 17:19:19 +01:00
activity.go
attachment.go
blame.go [GITEA] Simplify blame handler 2024-02-05 16:54:44 +01:00
branch.go
cherry_pick.go
commit.go [GITEA] Detect file rename and show in history 2024-02-05 16:09:40 +01:00
compare.go
download.go
editor.go [GITEA] Allow user to select email for file operations in Web UI 2024-02-05 16:09:41 +01:00
editor_test.go
find.go
githttp.go
githttp_test.go
helper.go
helper_test.go
issue.go Add merge style fast-forward-only (#28954) 2024-02-14 17:19:19 +01:00
issue_content_history.go [GITEA] Fix panic in canSoftDeleteContentHistory 2024-02-05 16:09:42 +01:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_pin.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go
projects.go [CLEANUP] make golangci-lint@v1.56.1 happy 2024-02-15 16:19:36 +01:00
projects_test.go
pull.go [FEAT]: Allow forking without a repo ID 2024-02-10 09:14:14 +01:00
pull_review.go [BUG] split code conversations in diff tab (#2306) 2024-02-16 12:16:11 +00:00
release.go
release_test.go
render.go
repo.go
search.go
topic.go
treelist.go
view.go [FEAT] support .forgejo dir for issue and PR templates 2024-02-06 10:22:32 +01:00
view_test.go
wiki.go [GITEA] Allow changing the repo Wiki branch to main 2024-02-05 16:57:47 +01:00
wiki_test.go