From eb25a4e75d6330a1d2f12cbd72f17e0d489380fe Mon Sep 17 00:00:00 2001 From: leok18 <178525594+leok18@users.noreply.github.com> Date: Sun, 14 Sep 2025 13:28:21 -0700 Subject: [PATCH 1/3] add robot break scouting to post match --- app/game/post-match.tsx | 28 ++++++++++++++++++++++------ lib/collection/ReportState.ts | 2 ++ lib/collection/reportStateStore.ts | 6 ++++++ 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/app/game/post-match.tsx b/app/game/post-match.tsx index 706a0f3..8a0e387 100644 --- a/app/game/post-match.tsx +++ b/app/game/post-match.tsx @@ -29,6 +29,7 @@ import { CommonActions } from "@react-navigation/native"; import BodyMedium from "../../lib/components/text/BodyMedium"; import { useTrainingModeStore } from "../../lib/storage/userStores"; import React from "react"; +import { Checkbox } from "../../lib/components/Checkbox"; export default function PostMatch() { const reportState = useReportStateStore(); @@ -78,7 +79,6 @@ export default function PostMatch() { ]} selected={reportState.robotRole} /> - + + { + checked + ? reportState.setRobotBrokeDescription("") + : reportState.setRobotBrokeDescription(null); + }} + > + {reportState.robotBrokeDescription != null && ( + + + + )} + - - - reportState.setKnocksAlgae(value)} @@ -149,7 +167,6 @@ export default function PostMatch() { direction={ButtonGroupDirection.Horizontal} selected={reportState.traversesUnderCage} /> - Notes -