feat: add admin advancement summary card and advance column in assignments table
- Update listByStage query to include evaluation form criteriaJson and criterionScoresJson - Add Advance column to individual assignments table showing YES/NO badge per submitted evaluation - Create AdvancementSummaryCard component showing yes/no/pending vote counts with stacked bar - Wire AdvancementSummaryCard into the EVALUATION round overview tab Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -115,6 +115,7 @@ import { AIRecommendationsDisplay } from '@/components/admin/round/ai-recommenda
|
||||
import { EvaluationCriteriaEditor } from '@/components/admin/round/evaluation-criteria-editor'
|
||||
import { COIReviewSection } from '@/components/admin/assignment/coi-review-section'
|
||||
import { ConfigSectionHeader } from '@/components/admin/rounds/config/config-section-header'
|
||||
import { AdvancementSummaryCard } from '@/components/admin/round/advancement-summary-card'
|
||||
|
||||
// ── Helpers ────────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -942,6 +943,13 @@ export default function RoundDetailPage() {
|
||||
</Card>
|
||||
</AnimatedCard>
|
||||
|
||||
{/* Advancement Votes Summary — only for EVALUATION rounds */}
|
||||
{isEvaluation && (
|
||||
<AnimatedCard index={1}>
|
||||
<AdvancementSummaryCard roundId={roundId} />
|
||||
</AnimatedCard>
|
||||
)}
|
||||
|
||||
{/* Filtering Results Summary — only for FILTERING rounds with results */}
|
||||
{isFiltering && filteringStats && filteringStats.total > 0 && (
|
||||
<AnimatedCard index={1}>
|
||||
|
||||
Reference in New Issue
Block a user