houston inshallah

This commit is contained in:
Evan Lanham
2022-04-08 04:25:57 +00:00
parent 23f6452a06
commit dd7856ef97
8 changed files with 16 additions and 12 deletions
+1 -1
View File
@@ -1 +1 @@
docker-compose -f docker-compose.couch.yml up -d --build
docker-compose -f docker-compose.couch.yml up -d --build --remove-orphans
+1 -1
View File
@@ -1 +1 @@
docker-compose up -d --build
docker-compose up -d --build --remove-orphans
+2 -4
View File
@@ -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"
},
+2 -2
View File
@@ -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")
+9 -3
View File
@@ -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" }}>