From abcce3880d4d30d7078f2741c00da25754a13435 Mon Sep 17 00:00:00 2001 From: tedison <76473430+edisontim@users.noreply.github.com> Date: Wed, 11 Dec 2024 12:32:39 -0500 Subject: [PATCH 1/2] raise limits and remove chat (#2435) --- client/src/dojo/setup.ts | 4 ++-- client/src/ui/modules/navigation/LeftNavigationModule.tsx | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/client/src/dojo/setup.ts b/client/src/dojo/setup.ts index 2df39000c..1143c47f4 100644 --- a/client/src/dojo/setup.ts +++ b/client/src/dojo/setup.ts @@ -15,13 +15,13 @@ export async function setup({ ...config }: DojoConfig) { const systemCalls = createSystemCalls(network); // fetch all existing entities from torii - const sync = await getSyncEntities(network.toriiClient, network.contractComponents as any, undefined, [], 10_000); + const sync = await getSyncEntities(network.toriiClient, network.contractComponents as any, undefined, [], 20_000); const eventSync = getSyncEvents( network.toriiClient, network.contractComponents.events as any, undefined, [], - 20_000, + 40_000, false, false, ); diff --git a/client/src/ui/modules/navigation/LeftNavigationModule.tsx b/client/src/ui/modules/navigation/LeftNavigationModule.tsx index d5dcee341..0fd85355e 100644 --- a/client/src/ui/modules/navigation/LeftNavigationModule.tsx +++ b/client/src/ui/modules/navigation/LeftNavigationModule.tsx @@ -12,7 +12,6 @@ import { motion } from "framer-motion"; import { Suspense, lazy, memo, useEffect, useMemo } from "react"; import { construction, military, trade, worldStructures } from "../../components/navigation/Config"; import CircleButton from "../../elements/CircleButton"; -import { Chat } from "../chat/Chat"; const EntityDetails = lazy(() => import("../entity-details/EntityDetails").then((module) => ({ default: module.EntityDetails })), @@ -257,11 +256,11 @@ export const LeftNavigationModule = memo(() => { - {!IS_MOBILE && ( + {/* {!IS_MOBILE && (
- )} + )} */} ); }); From 32dd7ab95d454e855ce00a2cf62707e3b6633f17 Mon Sep 17 00:00:00 2001 From: tedison <76473430+edisontim@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:34:09 -0500 Subject: [PATCH 2/2] loading page loading itmes (#2436) --- client/src/ui/modules/LoadingScreen.tsx | 1 + landing/src/main.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/client/src/ui/modules/LoadingScreen.tsx b/client/src/ui/modules/LoadingScreen.tsx index 04fb67342..aea959348 100644 --- a/client/src/ui/modules/LoadingScreen.tsx +++ b/client/src/ui/modules/LoadingScreen.tsx @@ -47,6 +47,7 @@ export const LoadingScreen = ({ backgroundImage }: { backgroundImage: string })
{`${statements[currentStatement]}`}
+
{`We are experiencing high loading times. Please be patient.`}
); diff --git a/landing/src/main.tsx b/landing/src/main.tsx index 3329ade7e..00bd7c7ab 100644 --- a/landing/src/main.tsx +++ b/landing/src/main.tsx @@ -35,6 +35,7 @@ if (!rootElement.innerHTML) {
Loading... +
{`We are experiencing high loading times. Please be patient.`}
, );