gitea/web_src/css/modules
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
..
animations.css Add "Go to file", "Delete Directory" to repo file list page (#35911) 2025-11-30 11:58:15 +08:00
breadcrumb.css Refactor editor (#34780) 2025-06-21 19:20:51 +08:00
button.css Refactor time tracker UI (#34983) 2025-07-08 08:59:31 +00:00
card.css Update JS and PY deps (#35191) 2025-08-01 07:24:26 +00:00
checkbox.css Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +00:00
comment.css Fix CODEOWNERS review request attribution using comment metadata (#36348) 2026-01-16 14:52:57 +00:00
container.css Replace text-align classes with tailwind (#33905) 2025-03-16 12:08:16 +00:00
dimmer.css Rework delete org and rename org UI (#34762) 2025-06-21 18:21:48 +00:00
divider.css Pulse page improvements (#30149) 2024-04-14 09:21:16 +00:00
flexcontainer.css Use `flex-container` for dashboard layout (#30214) 2024-04-14 13:39:11 +02:00
form.css fix: prevent 100% width radio buttons (#36262) 2025-12-29 09:51:10 +02:00
grid.css Remove unused or abused styles (#33918) 2025-03-17 22:11:24 +08:00
header.css Fix navbar `+` menu flashing on page load (#31281) 2024-06-12 14:58:03 +00:00
input.css Improve repo button row layout (#30668) 2024-05-02 19:10:49 +00:00
label.css Fix various problems (#35012) 2025-07-09 16:46:51 +00:00
list.css Improve `labels-list` rendering (#34846) 2025-06-27 23:12:25 +08:00
menu.css Add fullscreen mode as a more efficient operation way to view projects (#34081) 2025-04-23 13:42:22 +08:00
message.css Various code view improvements (#30014) 2024-03-24 12:14:03 +00:00
modal.css Replace text-align classes with tailwind (#33905) 2025-03-16 12:08:16 +00:00
navbar.css Refactor head navbar icons (#34922) 2025-07-04 13:03:22 +02:00
normalize.css Use line-height: normal by default (#26635) 2023-08-22 10:19:15 +00:00
segment.css Replace text-align classes with tailwind (#33905) 2025-03-16 12:08:16 +00:00
svg.css fix some file icon ui (#36078) 2025-12-04 19:47:23 +01:00
tab.css Drop fomantic build (#33845) 2025-03-11 12:44:52 +08:00
table.css UI: add hover background to table rows in user and repo admin page (#35072) 2025-07-14 08:29:35 -04:00
tippy.css Fix various UI problems (#34243) 2025-04-19 08:43:22 +00:00
toast.css Rework delete org and rename org UI (#34762) 2025-06-21 18:21:48 +00:00