From 7d287a7c70c92fcb6b1469e8b99a210d43ca89c4 Mon Sep 17 00:00:00 2001 From: zandiac24 Date: Tue, 28 Jan 2025 18:25:27 -0500 Subject: [PATCH 1/2] 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 c300cc0bbb9c2817e28798e77026f6fde1e0565b Mon Sep 17 00:00:00 2001 From: Ryan Lo Date: Fri, 7 Feb 2025 20:27:52 -0500 Subject: [PATCH 2/2] 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}