gitea/web_src/css
Gregorius Bima Kharisma Wicaksana 65422fde4d
Fix CODEOWNERS review request attribution using comment metadata (#36348)
Fixes #36333

## Problem

When CODEOWNERS automatically assigns reviewers to a pull request, the
timeline incorrectly shows the PR author as the one who requested the
review (e.g., "PR_AUTHOR requested review from CODE_OWNER"). This is
misleading since the action was triggered automatically by CODEOWNERS
rules, not by the PR author.

## Solution

Store CODEOWNERS attribution in comment metadata instead of changing the
doer user:
- Add `SpecialDoerName` field to `CommentMetaData` struct (value:
`"CODEOWNERS"` for CODEOWNERS-triggered requests)
- Pass `isCodeOwners=true` to `AddReviewRequest` and
`AddTeamReviewRequest` functions
- Template can check this metadata to show appropriate attribution
message

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-01-16 14:52:57 +00:00
..
chroma Various code view improvements (#30014) 2024-03-24 12:14:03 +00:00
codemirror
editor Add "Go to file", "Delete Directory" to repo file list page (#35911) 2025-11-30 11:58:15 +08:00
features Fix CODEOWNERS review request attribution using comment metadata (#36348) 2026-01-16 14:52:57 +00:00
markup Improve and fix markup code preview rendering (#35777) 2025-10-30 05:15:42 +00:00
modules Fix CODEOWNERS review request attribution using comment metadata (#36348) 2026-01-16 14:52:57 +00:00
repo Automatic generation of release notes (#35977) 2025-12-17 02:01:19 +00:00
shared Refactor some trivial problems (#34959) 2025-07-05 23:19:33 +08:00
standalone Make external iframe render work (#35730) 2025-10-23 08:01:38 +00:00
themes Rename CSS variables and improve colorblind themes (#36353) 2026-01-15 06:18:33 +00:00
actions.css Misc CSS fixes (#34638) 2025-06-07 19:57:07 +02:00
admin.css Update JS and PY deps (#35191) 2025-08-01 07:24:26 +00:00
base.css Fix CODEOWNERS review request attribution using comment metadata (#36348) 2026-01-16 14:52:57 +00:00
dashboard.css Pulse page improvements (#30149) 2024-04-14 09:21:16 +00:00
explore.css Fix and/or comment some legacy CSS problems (#33015) 2024-12-28 11:51:38 +00:00
font_i18n.css
helpers.css Replace `gt-word-break` with `tw-break-anywhere` (#31183) 2024-06-04 13:57:11 +00:00
home.css Support selecting theme on the footer (#35741) 2025-10-28 18:25:00 +08:00
index.css Remove fomantic form module (#36222) 2025-12-23 18:21:47 +01:00
install.css Fix some UI problems (install/checkbox) (#30854) 2024-05-06 06:32:05 +00:00
org.css Clean up legacy form CSS styles (#33081) 2025-01-03 04:01:19 +00:00
repo.css Rename CSS variables and improve colorblind themes (#36353) 2026-01-15 06:18:33 +00:00
review.css Misc CSS fixes (#35888) 2025-11-19 03:02:41 +00:00
user.css Fix overflow in notifications list (#35446) 2025-09-10 13:05:35 +00:00