From e579b0245d59d7cf67b4583f09b1325674fc1256 Mon Sep 17 00:00:00 2001 From: Ryan Lo Date: Wed, 29 Jan 2025 21:09:07 -0500 Subject: [PATCH 1/2] added a teleop field --- scoutingapp/src/config/structure.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scoutingapp/src/config/structure.json b/scoutingapp/src/config/structure.json index 52d6fa2..7c3b778 100644 --- a/scoutingapp/src/config/structure.json +++ b/scoutingapp/src/config/structure.json @@ -1,11 +1,11 @@ [ { - "name": "2024 Scouting App", - "description": "Team 4099: The Falcon's 2024 scouting data collection page", + "name": "2025 Scouting App", + "description": "Team 4099: The Falcon's 2025 scouting data collection page", "components": [ { "type": "GenericHeaderOne", - "text": "2024 Scouting App" + "text": "2025 Scouting App" }, { "type": "GenericHeaderTwo", @@ -112,14 +112,14 @@ }, { "type": "IncrementNumberInput", - "text": "Teleop Speaker Cycles", + "text": "Teleop Coral Level 1 Cycles", "placeholder": [ "0" ], "options": [ "red" ], - "id": "TeleopSpeaker" + "id": "TeleopCoralL1" }, { "type": "IncrementNumberInput", @@ -279,7 +279,7 @@ "AutoCenterline", "AutoLeave", "AutoNotes", - "TeleopSpeaker", + "TeleopCoralL1", "TeleopAmp", "TeleopTrap", "TeleopPassing", From 940078943d9639c7deb2517b68bc80faa3873a04 Mon Sep 17 00:00:00 2001 From: Ryan Lo Date: Fri, 7 Feb 2025 20:35:22 -0500 Subject: [PATCH 2/2] finished adding teleop fields --- .../inputs/IncrementNumberInput.tsx | 2 +- scoutingapp/src/config/structure.json | 44 ++++++++++++++----- 2 files changed, 35 insertions(+), 11 deletions(-) diff --git a/scoutingapp/src/components/inputs/IncrementNumberInput.tsx b/scoutingapp/src/components/inputs/IncrementNumberInput.tsx index 5793dd7..da2d55b 100644 --- a/scoutingapp/src/components/inputs/IncrementNumberInput.tsx +++ b/scoutingapp/src/components/inputs/IncrementNumberInput.tsx @@ -28,7 +28,7 @@ function IncrementNumberInput(props: ComponentSetup) { > - -
+

{counter}