gitea/web_src/css/features
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
..
captcha.css Remove fomantic form module (#36222) 2025-12-23 18:21:47 +01:00
codeeditor.css
colorpicker.css Update stylelint, enable `report*` options (#35236) 2025-08-08 16:52:49 +00:00
console.css
cropper.css Add cropping support when modifying the user/org/repo avatar (#33498) 2025-02-06 21:07:44 +08:00
dropzone.css
expander.css Merge and tweak markup editor expander CSS (#34409) 2025-05-09 17:14:21 +02:00
gitgraph.css Fix CODEOWNERS review request attribution using comment metadata (#36348) 2026-01-16 14:52:57 +00:00
heatmap.css Contribution heatmap improvements (#35876) 2025-11-06 09:23:48 +01:00
imagediff.css Fix SVG size calulation, only use `style` attribute (#36133) 2025-12-12 09:39:02 +02:00
projects.css Improve project & label color picker and image scroll (#34971) 2025-07-06 23:37:26 +08:00