This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cloud/dashboard-web/src/enrollment/confirmDetails.tsx b/cloud/dashboard-web/src/enrollment/confirmDetails.tsx | |
index fe81d5678..a44e35041 100644 | |
--- a/cloud/dashboard-web/src/enrollment/confirmDetails.tsx | |
+++ b/cloud/dashboard-web/src/enrollment/confirmDetails.tsx | |
@@ -1,5 +1,5 @@ | |
import { H1, H3, SubHeader } from "@/theme/typography"; | |
-import { useForm } from "react-hook-form"; | |
+import { useForm, UseFormSetValue, UseFormWatch } from "react-hook-form"; | |
import { Input, MonthDayInput } from "../component/input/input"; | |
import { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cloud/db/resources/seed/local.sql b/cloud/db/resources/seed/local.sql | |
index f8a94e48d..d8fe27f9d 100644 | |
--- a/cloud/db/resources/seed/local.sql | |
+++ b/cloud/db/resources/seed/local.sql | |
@@ -163,7 +163,7 @@ VALUES | |
INSERT INTO | |
gateway_config (gateway_serial, config_json) | |
VALUES | |
- (_GATEWAY_ID, '{}') ON CONFLICT (gateway_serial) DO NOTHING; | |
+ (_GATEWAY_ID, '{ "enable_automatic_backup": true }') ON CONFLICT (gateway_serial) DO NOTHING; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cloud/infra/init/ecr-policy.json b/cloud/infra/init/ecr-policy.json | |
index ab2d9c1b5..205c4b0d6 100644 | |
--- a/cloud/infra/init/ecr-policy.json | |
+++ b/cloud/infra/init/ecr-policy.json | |
@@ -12,6 +12,19 @@ | |
"action": { | |
"type": "expire" | |
} | |
+ }, | |
+ { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cloud/dashboard-web/src/component/SignInTicket.tsx b/cloud/dashboard-web/src/component/SignInTicket.tsx | |
index 5baf6dec9..c9140602f 100644 | |
--- a/cloud/dashboard-web/src/component/SignInTicket.tsx | |
+++ b/cloud/dashboard-web/src/component/SignInTicket.tsx | |
@@ -20,7 +20,7 @@ const TicketSignIn = (props: { nextRoute: string }) => { | |
} | |
if (user && signInProcessed) { | |
- navigate(`${props.nextRoute}?${searchParams.toString()}`); | |
+ return navigate(`${props.nextRoute}?${searchParams.toString()}`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cloud/admin-api/src/main.go b/cloud/admin-api/src/main.go | |
index 280e42aed..ffbe71480 100644 | |
--- a/cloud/admin-api/src/main.go | |
+++ b/cloud/admin-api/src/main.go | |
@@ -155,6 +155,7 @@ func main() { | |
"admin.AdminAPI": {clerkBearerAuth}, | |
"admin.REPService": {clerkBearerAuth}, | |
"admin.CommissioningService": {clerkBearerAuth}, | |
+ "fleet.GatewayConfig": {clerkBearerAuth}, | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Original, working solution that uses explicit "type" property key. | |
export function Cases<Key extends string, Union extends { type: Key }, U>( | |
args: { | |
[key in Key]: (_: Extract<Union, { type: key }>) => U; | |
}, | |
data: Extract<Union, { type: Key }> | |
) { | |
return args[data.type](data); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cloud/web/src/components/price-panel/PricePanel.tsx b/cloud/web/src/components/price-panel/PricePanel.tsx | |
index c94334345..0bedfab0b 100644 | |
--- a/cloud/web/src/components/price-panel/PricePanel.tsx | |
+++ b/cloud/web/src/components/price-panel/PricePanel.tsx | |
@@ -23,6 +23,7 @@ export default function PricePanel({ | |
const promoCodeResponse = useQuery({ | |
queryKey: ["getPromoCode", promoCode], | |
queryFn: () => getPromoCodeData(promoCode), | |
+ enabled: !!promoCode, | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/rollup.config.mjs b/client/rollup.config.mjs | |
index c4fa3c1e6..5fa8d9b99 100644 | |
--- a/client/rollup.config.mjs | |
+++ b/client/rollup.config.mjs | |
@@ -32,7 +32,7 @@ import { | |
getWorkspaceAssetEntrypoints, | |
} from '@reddit/shreddit.lib.orchestrator/workspaces.js'; | |
-const DEFAULT_LOCALE = 'en-US'; | |
+const DEFAULT_LOCALE = ['en-US', 'es-ES']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We know that b is the closing char | |
// Change this if ever the order isn't known | |
const formsPair = (a: string, b: string): boolean => { | |
const forms = (a === "{" && b === "}") || | |
(a === "(" && b === ")") || | |
(a === "[" && b === "]"); | |
console.log(["forms pair?", forms]) | |
return forms; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index 5be7b5083434..4d845f5dd0aa 100644 | |
--- a/htdocs/assets/js/lib/lazyload.js | |
+++ b/htdocs/assets/js/lib/lazyload.js | |
@@ -1,5 +1,9 @@ | |
-// set up lazyload, which looks for data-img properties on img tags and automatically loads them lazily | |
-// src: https://github.com/verlok/lazyload | |
+/* set up lazyload, which looks for data-img properties on img tags and automatically loads them lazily | |
+ src: https://github.com/verlok/lazyload | |
+ version 10.4.x | |
+ We've modified from the original file by removing the IntersectionRatio check in onIntersection as it |
NewerOlder