From ccb72a541bf6547b9b12707853125242038a23ff Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Mon, 11 Mar 2024 09:14:42 -0700 Subject: [PATCH] feat: show message if loading is taking a while --- client/public/splashscreen.html | 20 ++++++++++---------- splash-screen/src/lib/Loading.svelte | 19 ++++++++++++++++++- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/client/public/splashscreen.html b/client/public/splashscreen.html index 98d6bbc..a9d4d8a 100644 --- a/client/public/splashscreen.html +++ b/client/public/splashscreen.html @@ -4,17 +4,17 @@ Jankboard 2 - - diff --git a/splash-screen/src/lib/Loading.svelte b/splash-screen/src/lib/Loading.svelte index 4c78fff..5894a0e 100644 --- a/splash-screen/src/lib/Loading.svelte +++ b/splash-screen/src/lib/Loading.svelte @@ -1,7 +1,16 @@
+ {#if loadingStuck} +

+ Loading 3D assets...please wait +

+ {/if}