mirror of
https://github.com/Team4388/ScoutingApp2022.git
synced 2026-06-09 00:38:03 -06:00
houston inshallah
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@blueprintjs/core": "^3.52.0",
|
||||
"@data-driven-forms/blueprint-component-mapper": "^3.16.1",
|
||||
"@data-driven-forms/react-form-renderer": "^3.16.1",
|
||||
"@testing-library/jest-dom": "^5.16.1",
|
||||
"@testing-library/react": "^12.1.2",
|
||||
"@testing-library/user-event": "^13.5.0",
|
||||
@@ -41,8 +39,8 @@
|
||||
"workbox-streams": "^5.1.4"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"start": "react-scripts --max_old_space_size=4096 start",
|
||||
"build": "react-scripts --max_old_space_size=4096 build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
|
||||
@@ -75,8 +75,8 @@ const DevPage = () => {
|
||||
const updateScheduleDoc = useCallback(() => {
|
||||
//gets the matches list from the blue alliance api
|
||||
superagent
|
||||
.get("https://www.thebluealliance.com/api/v3" + "/event/2022code/matches")
|
||||
// .get("https://www.thebluealliance.com/api/v3" + "/event/2022utwv/matches")
|
||||
//.get("https://www.thebluealliance.com/api/v3" + "/event/2022code/matches")
|
||||
.get("https://www.thebluealliance.com/api/v3" + "/event/2022utwv/matches")
|
||||
// .get("https://www.thebluealliance.com/api/v3" + "/event/2022cala/matches")
|
||||
// .get("https://www.thebluealliance.com/api/v3" + "/events/2022/keys")
|
||||
.set("X-TBA-Auth-Key", "6aXgVYCAcyy4O7FwCGLqj5ATcima5k25smssLqUuHAHTCvGtCWXX7aoM9xNWfaSm")
|
||||
|
||||
@@ -15,9 +15,9 @@ const TeamPage = () => {
|
||||
|
||||
let panel_sx = {
|
||||
display: "flex",
|
||||
flexDirection: { xs: "column", md: "row" },
|
||||
alignItems: { xs: "center", sm: "center" },
|
||||
justifyContent: { xs: "flex-start", sm: "center" },
|
||||
flexDirection: "column",
|
||||
alignItems: "center",
|
||||
justifyContent: "flex-start",
|
||||
bgcolor: "background.paper",
|
||||
p: 2,
|
||||
m: 1,
|
||||
@@ -52,6 +52,9 @@ const TeamPage = () => {
|
||||
drive_motors: "",
|
||||
wheels: "",
|
||||
climb_level: "",
|
||||
which_hub: "",
|
||||
shooter_type: "",
|
||||
alignment_strategy: "",
|
||||
misc_design: "",
|
||||
};
|
||||
if (typeof res[team] !== "undefined") {
|
||||
@@ -74,6 +77,9 @@ const TeamPage = () => {
|
||||
<FastField type="input" as={TextField} name="drive_motors" label="# of Drive Motors" />
|
||||
<FastField type="input" as={TextField} name="wheels" label="Wheels" />
|
||||
<FastField type="input" as={TextField} name="climb_level" label="Climb Level" />
|
||||
<FastField type="input" as={TextField} name="which_hub" label="Which Hub" />
|
||||
<FastField type="input" as={TextField} name="shooter_type" label="Shooter Type" />
|
||||
<FastField type="input" as={TextField} name="alignment_strategy" label="Alignment Strat" />
|
||||
<FastField type="input" as={TextField} name="misc_design" label="Misc" />
|
||||
</Box>
|
||||
<Box sx={{ ...panel_sx, display: "flex", flexDirection: "column" }}>
|
||||
|
||||
Reference in New Issue
Block a user