feat(moderation): resource-centric reported comments/events pages

Rework 内容审核 pages around reported resources instead of individual
reports, matching the new backend endpoints: rows group all reports on
one comment/event, with a slide-over listing report details and
per-row actions 通过并屏蔽 (approve) / 驳回举报 (reject) / 撤销屏蔽
(revert). Filters: 待处理 / 已屏蔽 / 全部.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
2026-07-11 14:20:37 +08:00
co-authored by Claude Fable 5
parent 999d5353fd
commit f5a7249969
9 changed files with 532 additions and 381 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ export const NAV_GROUPS: NavGroup[] = [
{
label: '内容审核',
items: [
{ label: '评论举报', to: '/comment-reports', icon: MessageSquareWarning },
{ label: '事件举报', to: '/event-reports', icon: Flag },
{ label: '被举报评论', to: '/comment-reports', icon: MessageSquareWarning },
{ label: '被举报事件', to: '/event-reports', icon: Flag },
{ label: 'Dimzou 翻译', to: '/dimzou-translations', icon: Languages },
],
},