From 1c73213cacc46835d4bad1b45501e51a0fcee866 Mon Sep 17 00:00:00 2001
From: GideonC <100504528+TheLumpiest@users.noreply.github.com>
Date: Mon, 26 Feb 2024 18:19:54 -0500
Subject: [PATCH] Data viz (#33)
* fixed the graphing
* Added the Browser router and adjusted the graph
* Finished a preliminary full team graph
* Created a Team Look Up page
* waka
* added qr code
* added a sorter to the table
* Fixed the NavBar for mobile
---
src/Components/ClimbSelector.tsx | 2 +-
src/Components/NavBar.tsx | 12 ++---
src/Components/TrapSelector.tsx | 27 ++++++++++
src/ContextProvider.tsx | 4 +-
src/DataEntry.tsx | 2 +
src/DataGraphs.tsx | 34 ++++++------
src/DataViz/FullTeamGraph.tsx | 89 +++++++++++++++++++++++++++++++-
src/DataViz/TeamGraph.tsx | 84 +++++++++++++++++++++++++-----
src/DataViz/TeamLookUp.tsx | 7 ++-
src/DataViz/TeamTable.tsx | 50 +++++++++++++++---
src/Forms/TeleopForm.tsx | 4 ++
11 files changed, 267 insertions(+), 48 deletions(-)
create mode 100644 src/Components/TrapSelector.tsx
diff --git a/src/Components/ClimbSelector.tsx b/src/Components/ClimbSelector.tsx
index c04a90c..4b5e976 100644
--- a/src/Components/ClimbSelector.tsx
+++ b/src/Components/ClimbSelector.tsx
@@ -7,7 +7,7 @@ const opts = [
"Not Attempted",
"Attempted but Failed",
"Climbed",
- "Climbed with other Robot",
+ "Harmony",
"Parked",
];
diff --git a/src/Components/NavBar.tsx b/src/Components/NavBar.tsx
index c0ddb6d..d5fde1a 100644
--- a/src/Components/NavBar.tsx
+++ b/src/Components/NavBar.tsx
@@ -61,7 +61,7 @@ export default function NavBar() {
return (
{/*
*/}
DataEntry
DataGraphs
TeamLookUp
@@ -108,7 +108,7 @@ export default function NavBar() {
Teleop
*/}