feat(cms): record hand-run legal translation reviews in the CMS (MITHOME-113)
Validation of legal translations is a manual flow (user decision): copy the prompt, run it in any vendor's model, paste the answer back. The legal validation block now holds the prompt panel and a list of reviews (model, date, verdict, pasted answer, notes) instead of a model list and report link. Approval needs two distinct models whose latest complete review does not reject; a newer review supersedes a model's rejection. The locale path collector now looks through row/collapsible wrappers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
acd1ff2ed9
commit
bff08edafe
@@ -5,7 +5,7 @@ import { buildLegalValidationPrompt, type LegalText } from '@/lib/legal-validati
|
||||
|
||||
/**
|
||||
* MITHOME-113 (design D8) — "Validation prompt" panel in the legal page
|
||||
* editor sidebar: a ready-to-copy prompt for reviewing the English
|
||||
* editor's legal validation block (above the pasted review entries): a ready-to-copy prompt for reviewing the English
|
||||
* translation with a high-capability model. The prompt comes from the same
|
||||
* template the project's own validation uses (src/lib/legal-validation-prompt.ts).
|
||||
*
|
||||
@@ -76,8 +76,8 @@ export function LegalValidationPrompt() {
|
||||
<div className="field-type" style={{ marginBottom: 'var(--base)' }}>
|
||||
<label className="field-label">Validációs prompt (angol fordítás)</label>
|
||||
<p style={{ color: 'var(--theme-elevation-500)', fontSize: '0.8rem', margin: '0 0 0.5rem' }}>
|
||||
Másold be egy magas szintű modellbe (legalább kettőbe, egymástól függetlenül), majd rögzítsd az eredményt a
|
||||
„Jogi validáció” mezőkben. A prompt a legutóbb mentett változatból készül.
|
||||
Másold be egy magas szintű modellbe (legalább kettőbe, egymástól függetlenül), majd a választ rögzítsd alább,
|
||||
új validálásként. A prompt a legutóbb mentett változatból készül.
|
||||
</p>
|
||||
{state.kind === 'loading' && <p>Betöltés…</p>}
|
||||
{state.kind === 'unsaved' && <p>Előbb mentsd el a dokumentumot.</p>}
|
||||
|
||||
Reference in New Issue
Block a user