diff --git a/src/views/ReportsCenter/ReportsCenterCMDashboard.tsx b/src/views/ReportsCenter/ReportsCenterCMDashboard.tsx index ecab5b098e..84f0f8db07 100644 --- a/src/views/ReportsCenter/ReportsCenterCMDashboard.tsx +++ b/src/views/ReportsCenter/ReportsCenterCMDashboard.tsx @@ -67,11 +67,11 @@ function startOfWeek(the_date: Date): Date { const EXPECTED_MAX_WEEKLY_CM_REPORTS = 160; const Y_STEP_SIZE = 40; // must divide evenly into EXPECTED_MAX_WEEKLY_CM_REPORTS -interface CMVotingOutcomeGraphProps { +interface CMVoteCountGraphProps { vote_data: ReportCount[]; period: number; } -const CMVotingOutcomeGraph = ({ vote_data, period }: CMVotingOutcomeGraphProps): JSX.Element => { +const CMVoteCountGraph = ({ vote_data, period }: CMVoteCountGraphProps): JSX.Element => { if (!vote_data) { vote_data = []; } @@ -338,8 +338,8 @@ export function ReportsCenterCMDashboard(): JSX.Element { My Summary Group Outcomes - Individual Outcomes - My Outcomes + Individual Votes + My Votes {/* A CM's Summary Pie Charts */} @@ -390,7 +390,7 @@ export function ReportsCenterCMDashboard(): JSX.Element {

{report_type}

{vote_data[report_type] ? ( - @@ -402,7 +402,7 @@ export function ReportsCenterCMDashboard(): JSX.Element { : "loading..."} - {/* Moderator view of each CM's voting outcomes */} + {/* Moderator view of each CM's vote categories */} "votes", render: (X) => ( - + ), }, ]} /> - {/* A CM's individual voting outcomes */} + {/* A CM's individual vote categories (My Votes) */} {users_data ? ["overall", "escaping", "stalling", "score_cheating"].map((report_type) => (

{report_type}

{users_data[report_type] ? ( -