feat: add showJurorProgressDashboard toggle to EvaluationConfig
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -174,6 +174,18 @@ export function EvaluationConfig({ config, onChange }: EvaluationConfigProps) {
|
|||||||
onCheckedChange={(v) => update('peerReviewEnabled', v)}
|
onCheckedChange={(v) => update('peerReviewEnabled', v)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="flex items-center justify-between">
|
||||||
|
<div>
|
||||||
|
<Label htmlFor="showJurorProgressDashboard">Juror Progress Dashboard</Label>
|
||||||
|
<p className="text-xs text-muted-foreground">Show jurors a dashboard with their past evaluations, scores, and advance decisions</p>
|
||||||
|
</div>
|
||||||
|
<Switch
|
||||||
|
id="showJurorProgressDashboard"
|
||||||
|
checked={(config.showJurorProgressDashboard as boolean) ?? false}
|
||||||
|
onCheckedChange={(v) => update('showJurorProgressDashboard', v)}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ export const EvaluationConfigSchema = z.object({
|
|||||||
coiRequired: z.boolean().default(true),
|
coiRequired: z.boolean().default(true),
|
||||||
|
|
||||||
peerReviewEnabled: z.boolean().default(false),
|
peerReviewEnabled: z.boolean().default(false),
|
||||||
|
showJurorProgressDashboard: z.boolean().default(false),
|
||||||
anonymizationLevel: z
|
anonymizationLevel: z
|
||||||
.enum(['fully_anonymous', 'show_initials', 'named'])
|
.enum(['fully_anonymous', 'show_initials', 'named'])
|
||||||
.default('fully_anonymous'),
|
.default('fully_anonymous'),
|
||||||
|
|||||||
Reference in New Issue
Block a user