refactor(frontend): remove warn moderation status — hardcode warn to 0 in charts, drop warn filter/badge/buttons/Api, simplify to flagged-only

This commit is contained in:
MythEclipse committed 2026-06-03 01:13:47 +07:00
1 parent b7d4e66600
commit 8d34aa7125
10 files changed
+15 -108

No files matched your search

@@ -178,17 +178,6 @@ export function reanalyzeErrorBatch(opts: {
);
}
export function moderateMessage(
id: string,
actionType: string,
reason?: string,
): Promise<{ ok: boolean }> {
return request<{ ok: boolean }>(`/api/messages/${id}/moderate`, {
method: "POST",
body: JSON.stringify({ actionType, reason }),
});
}
// ─── Guilds / Config ─────────────────────────────────────────────────────────
export function getGuilds(): Promise<Guild[]> {