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
@@ -29,4 +29,4 @@ services:
# - DOMAIN=10.43.88.1 # - DOMAIN=10.43.88.1
# - TARGET_PORT=5984 # - TARGET_PORT=5984
# - TARGET_HOST=scouting-couchdb # - TARGET_HOST=scouting-couchdb
# - SSL_PORT:5985 # - SSL_PORT:5985
+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, "private": true,
"dependencies": { "dependencies": {
"@blueprintjs/core": "^3.52.0", "@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/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2", "@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0", "@testing-library/user-event": "^13.5.0",
@@ -41,8 +39,8 @@
"workbox-streams": "^5.1.4" "workbox-streams": "^5.1.4"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts --max_old_space_size=4096 start",
"build": "react-scripts build", "build": "react-scripts --max_old_space_size=4096 build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject" "eject": "react-scripts eject"
}, },
+2 -2
View File
@@ -75,8 +75,8 @@ const DevPage = () => {
const updateScheduleDoc = useCallback(() => { const updateScheduleDoc = useCallback(() => {
//gets the matches list from the blue alliance api //gets the matches list from the blue alliance api
superagent superagent
.get("https://www.thebluealliance.com/api/v3" + "/event/2022code/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/2022utwv/matches")
// .get("https://www.thebluealliance.com/api/v3" + "/event/2022cala/matches") // .get("https://www.thebluealliance.com/api/v3" + "/event/2022cala/matches")
// .get("https://www.thebluealliance.com/api/v3" + "/events/2022/keys") // .get("https://www.thebluealliance.com/api/v3" + "/events/2022/keys")
.set("X-TBA-Auth-Key", "6aXgVYCAcyy4O7FwCGLqj5ATcima5k25smssLqUuHAHTCvGtCWXX7aoM9xNWfaSm") .set("X-TBA-Auth-Key", "6aXgVYCAcyy4O7FwCGLqj5ATcima5k25smssLqUuHAHTCvGtCWXX7aoM9xNWfaSm")
+9 -3
View File
@@ -15,9 +15,9 @@ const TeamPage = () => {
let panel_sx = { let panel_sx = {
display: "flex", display: "flex",
flexDirection: { xs: "column", md: "row" }, flexDirection: "column",
alignItems: { xs: "center", sm: "center" }, alignItems: "center",
justifyContent: { xs: "flex-start", sm: "center" }, justifyContent: "flex-start",
bgcolor: "background.paper", bgcolor: "background.paper",
p: 2, p: 2,
m: 1, m: 1,
@@ -52,6 +52,9 @@ const TeamPage = () => {
drive_motors: "", drive_motors: "",
wheels: "", wheels: "",
climb_level: "", climb_level: "",
which_hub: "",
shooter_type: "",
alignment_strategy: "",
misc_design: "", misc_design: "",
}; };
if (typeof res[team] !== "undefined") { 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="drive_motors" label="# of Drive Motors" />
<FastField type="input" as={TextField} name="wheels" label="Wheels" /> <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="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" /> <FastField type="input" as={TextField} name="misc_design" label="Misc" />
</Box> </Box>
<Box sx={{ ...panel_sx, display: "flex", flexDirection: "column" }}> <Box sx={{ ...panel_sx, display: "flex", flexDirection: "column" }}>