Skip to content

Commit

Permalink
Merge branch 'feat/2023offseason' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonTheBusyBeaver117 committed Oct 2, 2023
2 parents 413e1ed + cded1ba commit b15f97e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
22 changes: 12 additions & 10 deletions src/components/Review.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@ const Review = () => {
label="Scouting data accidents / problems"
prop="scoutProblems"
></Checkbox>
<Dropdown
wide = {false}
center = {true}
prop="pickupLocation"
options={[
{label: "Ground", value: "Ground"},
{label: "Single Substation", value: "Single Substation"},
{label: "Double Substation", value: "Double Substation"}
]}
></Dropdown>
<Checkbox
label="Ground pickup"
prop="groundPickup"
></Checkbox>
<Checkbox
label="Single substation pickup"
prop="singleSubstation"
></Checkbox>
<Checkbox
label="Double substation pickup"
prop="doubleSubstation"
></Checkbox>
<Freetext label="Comments?" prop="comments"></Freetext>
<SetPanel label="Edit Data" panelName="EditScoutData" width = "wide"></SetPanel>
<Next width = "wide"></Next>
Expand Down
4 changes: 3 additions & 1 deletion src/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ export const initialState = {
defense: false,
scoutProblems: false,
robotProblems: false,
pickupLocation: "Ground",
groundPickup: false,
singleSubstation: false,
doubleSubstation: false,
comments: "",
// Qualitative attributes... I don't want to deal with phase anymore
team1Number: undefined,
Expand Down

0 comments on commit b15f97e

Please sign in to comment.