From 7d287a7c70c92fcb6b1469e8b99a210d43ca89c4 Mon Sep 17 00:00:00 2001 From: zandiac24 Date: Tue, 28 Jan 2025 18:25:27 -0500 Subject: [PATCH 1/9] Update structure.json --- scoutingapp/src/config/structure.json | 49 ++++++++++++++++++++++----- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/scoutingapp/src/config/structure.json b/scoutingapp/src/config/structure.json index 52d6fa2..27639fb 100644 --- a/scoutingapp/src/config/structure.json +++ b/scoutingapp/src/config/structure.json @@ -74,24 +74,51 @@ }, { "type": "IncrementNumberInput", - "text": "Auto Speaker Cycles", + "text": "Auto Coral L1 Cycles", "placeholder": [ "0" ], - "id": "AutoSpeaker" + "id": "AutoCoralL1" }, { "type": "IncrementNumberInput", - "text": "Auto Amp Cycles", + "text": "Auto Coral L2 Cycles", "placeholder": [ "0" ], - "id": "AutoAmp" + "id": "AutoCoralL2" }, { - "type": "GenericToggle", - "text": "Did they intake from the centerline during auto?", - "id": "AutoCenterline" + "type": "IncrementNumberInput", + "text": "Auto Coral L3 Cycles", + "placehoder": [ + "0" + ], + "id": "AutoCoralL3" + }, + { + "type": "IncrementNumberInput", + "text": "Auto Coral L4 Cycles", + "placehoder": [ + "0" + ], + "id": "AutoCoralL4" + }, + { + "type": "IncrementNumberInput", + "text": "Auto Barge Cycles", + "placehoder": [ + "0" + ], + "id": "AutoBarge" + }, + { + "type": "IncrementNumberInput", + "text": "Auto Processor Cycles", + "placehoder": [ + "0" + ], + "id": "AutoProcessor" }, { "type": "GenericToggle", @@ -274,8 +301,12 @@ "Alliance", "DriverStation", "TeamNumber", - "AutoSpeaker", - "AutoAmp", + "AutoCoralL1", + "AutoCoralL2", + "AutoCoralL3", + "AutoCoralL4", + "AutoBarge", + "AutoProcessor", "AutoCenterline", "AutoLeave", "AutoNotes", From e579b0245d59d7cf67b4583f09b1325674fc1256 Mon Sep 17 00:00:00 2001 From: Ryan Lo Date: Wed, 29 Jan 2025 21:09:07 -0500 Subject: [PATCH 2/9] 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 9f116b7ddb4eb0794ec3f19e620edf309514b2b8 Mon Sep 17 00:00:00 2001 From: CodingMaster121 <67883747+CodingMaster121@users.noreply.github.com> Date: Wed, 5 Feb 2025 22:48:39 -0500 Subject: [PATCH 3/9] Removed tippy field duplicate --- scoutingapp/src/config/structure.json | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/scoutingapp/src/config/structure.json b/scoutingapp/src/config/structure.json index 81a17d8..f6291f5 100644 --- a/scoutingapp/src/config/structure.json +++ b/scoutingapp/src/config/structure.json @@ -209,18 +209,13 @@ "text": "Did they disable?", "id": "Disabled" }, - { - "type": "GenericToggle", - "text": "Can the robot easily tip over?", - "id": "Tippiness" - }, { "type": "GenericDropdown", "text": "How tippy was their robot?", "options": [ - "Very tippy", - "moderately tippy", - "stable" + "Very Tippy", + "Moderatly Tippy", + "Stable" ], "id": "StabilityRating" }, From c300cc0bbb9c2817e28798e77026f6fde1e0565b Mon Sep 17 00:00:00 2001 From: Ryan Lo Date: Fri, 7 Feb 2025 20:27:52 -0500 Subject: [PATCH 4/9] made some minor changes to auto --- .../inputs/IncrementNumberInput.tsx | 2 +- scoutingapp/src/config/structure.json | 28 +++++++++++++++---- 2 files changed, 24 insertions(+), 6 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}

-
+

{counter}