feat: render advance criterion on juror evaluation page and fix related renderers

- Jury evaluate page: add prominent advance criterion block (h-14, brand-blue border) before boolean block, fix type cast to include 'advance', add advance to required-field validation
- evaluation-form.tsx: add 'advance' to CriterionType, schema, default values, progress tracking, rendering via new AdvanceCriterionField component with prominent styling
- Admin project detail: treat advance same as boolean in EvaluationDetailSheet criterion score display
- Observer project detail: treat advance same as boolean in evaluation criterion score display

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 15:11:24 +01:00
parent 6c97ce3ed9
commit a327962f04
4 changed files with 148 additions and 8 deletions

View File

@@ -927,7 +927,7 @@ function EvaluationDetailSheet({
if (type === 'section_header') return null
if (type === 'boolean') {
if (type === 'boolean' || type === 'advance') {
return (
<div key={key} className="flex items-center justify-between p-2.5 rounded-lg border">
<span className="text-sm">{label}</span>