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:
@@ -737,7 +737,7 @@ export function ObserverProjectDetail({ projectId }: { projectId: string }) {
|
||||
|
||||
if (type === 'section_header') return null
|
||||
|
||||
if (type === 'boolean') {
|
||||
if (type === 'boolean' || type === 'advance') {
|
||||
return (
|
||||
<div
|
||||
key={key}
|
||||
|
||||
Reference in New Issue
Block a user