Add related cases and duplicate review suggestions
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
import EvidenceMessages from '$ui/components/moderation/EvidenceMessages.svelte';
|
||||
import LinkCaseActionDialog from '$ui/components/moderation/LinkCaseActionDialog.svelte';
|
||||
import CaseAssessment from '$ui/components/moderation/CaseAssessment.svelte';
|
||||
import CaseRelationships from '$ui/components/moderation/CaseRelationships.svelte';
|
||||
import { preservedConversation } from '$ui/moderation-evidence.js';
|
||||
|
||||
let { data }: { data: { moderationCase: ModerationCaseDetail } } = $props();
|
||||
@@ -395,6 +396,19 @@
|
||||
</div>
|
||||
|
||||
<aside class="case-sidebar">
|
||||
<CaseRelationships
|
||||
caseId={item.id}
|
||||
revision={item.revision}
|
||||
relationships={report.relatedCases}
|
||||
candidates={report.candidateCases}
|
||||
{permitted}
|
||||
onsubmitted={() => {
|
||||
notice =
|
||||
'Case relationship updated. The change is recorded in both case histories.';
|
||||
cancelRefresh();
|
||||
void refresh();
|
||||
}}
|
||||
/>
|
||||
<section class="panel" aria-labelledby="player-title">
|
||||
<h2 id="player-title">Player identity</h2>
|
||||
<a class="player-name" href={contextHref(playerProfileHref(item.guid), $page.url)}
|
||||
|
||||
Reference in New Issue
Block a user