0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-02-16 19:02:03 +01:00
gitea/models
Jason Song 066af372e3
Load reviewer for comments when dismissing a review (#24281)
If a comment dismisses a review, we need to load the reviewer to show
whose review has been dismissed.

Related to:

20b6ae0e53/templates/repo/issue/view_content/comments.tmpl (L765-L770)

We don't need `.Review.Reviewer` for all comments, because
"dismissing" doesn't happen often, or we would have already received
error reports.
2023-04-23 11:04:23 -04:00
..
actions Support upload outputs and use needs context on Actions (#24230) 2023-04-22 16:12:41 -04:00
activities
admin
asymkey
auth
avatars
db Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
dbfs Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
fixtures Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
git Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
issues Load reviewer for comments when dismissing a review (#24281) 2023-04-23 11:04:23 -04:00
migrations Support upload outputs and use needs context on Actions (#24230) 2023-04-22 16:12:41 -04:00
organization Add owner team permission check test (#24096) 2023-04-19 19:19:13 -04:00
packages
perm
project
pull
repo Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
secret
system
unit
unittest Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
user Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go Fix internal sever error when visiting a PR that bound to the deleted team (#24127) 2023-04-19 19:50:00 -04:00
org_team_test.go
org_test.go
repo.go
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go