From 502e0d7a5775dd97ee1b6938868a40f8d7091934 Mon Sep 17 00:00:00 2001 From: Tyler Hill Date: Thu, 19 Oct 2023 14:58:06 -0500 Subject: [PATCH] Move academic session select (#110) * Remove box and whisker and standard deviation bar graphs * Prettier * Average calc fix * Remove average graph, move to expandableSearchGrid * Revert subtitle addition * Prettier * Add question mark tooltip disclaimer * Prettier * Revert autocomplete_graph.json * Don't show question mark on loading * Move time range picker * Lint fix --- pages/dashboard/index.tsx | 75 +++++++++++++++++++++++---------------- 1 file changed, 44 insertions(+), 31 deletions(-) diff --git a/pages/dashboard/index.tsx b/pages/dashboard/index.tsx index 0491ca49..89d45109 100644 --- a/pages/dashboard/index.tsx +++ b/pages/dashboard/index.tsx @@ -1,5 +1,7 @@ import { Card, + FormControl, + FormHelperText, Grid, InputLabel, LinearProgress, @@ -398,8 +400,35 @@ export const Dashboard: NextPage = () => { gradesPage = ( <>
+ + Number(value).toFixed(0) + '%'} + series={gradesData} + /> +
-
+ endingSession} + variant="standard" + > From -
-
+ + endingSession} + variant="standard" + > To -
+
- - Number(value).toFixed(0) + '%'} - series={gradesData} - /> - + {startingSession > endingSession ? ( + + Starting academic session must be before ending academic session + + ) : null}
);