From 230347005c1b56914ea9cd6c1f85a5f291acd699 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 23 Feb 2026 21:07:18 +0100 Subject: [PATCH] Show 100% progress for closed/archived rounds in Round Pipeline Closed and archived rounds now always display a full progress bar instead of relying on the computed completionRate which is 0 for non-evaluation rounds. Co-Authored-By: Claude Opus 4.6 --- src/app/(admin)/admin/reports/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/(admin)/admin/reports/page.tsx b/src/app/(admin)/admin/reports/page.tsx index 78014be..ab5b58a 100644 --- a/src/app/(admin)/admin/reports/page.tsx +++ b/src/app/(admin)/admin/reports/page.tsx @@ -1000,6 +1000,8 @@ function RoundPipelineTab() {
{rounds.map((round, idx) => { const stats = comparisonMap.get(round.id) as any + const isClosed = round.status === 'ROUND_CLOSED' || round.status === 'ROUND_ARCHIVED' + const progressValue = isClosed ? 100 : (stats?.completionRate ?? 0) return (
@@ -1014,14 +1016,12 @@ function RoundPipelineTab() {
{stats?.projectCount ?? 0} projects {stats?.evaluationCount ?? 0} evals - + {round.status?.replace('ROUND_', '') ?? 'DRAFT'}
- {stats?.completionRate != null && ( - - )} +
)