diff --git a/src/lib/ae_stores.ts b/src/lib/ae_stores.ts index e64fc16d..aff57f76 100644 --- a/src/lib/ae_stores.ts +++ b/src/lib/ae_stores.ts @@ -47,7 +47,7 @@ export let ae_snip = string_snippets; // }; // Set the version for the app data. Changing this should force a notification and ask the user to clear and reload the page. -let ver = '2025-04-29_1545'; // KEEP: 2025-04-18_1335 +let ver = '2025-04-30_1320'; // KEEP: 2025-04-18_1335 and 2025-04-29_1545 let ver_idb = '2025-04-18_1100'; // Not used // *** BEGIN *** Longer-term app data. This should be stored to local storage. diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 4e8c7da8..2db4718c 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -675,8 +675,8 @@ $effect(() => { {#if (browser && flag_new_ver)}
-

New Version Available

-

A new version of the site is available. Please reload the page.

+

New Version Available

+

A new version of the site is available. Please use the Clear Cache and Reload button below to update.

+ +
+

If you have tried the "Clear Cache and Reload" button, you may need to manually reload the page using your browser's reload button or by pressing Ctrl + R or Cmd + R.

+

This sometimes happens with new versions of the app or when in an iframe.

+
+
{:else if browser && $ae_loc?.cache_expired}
-

Expired Cache

+

Expired Cache

The cache for this site has expired. Please reload the page.

+ +
+

If you have tried the "Clear Cache and Reload" button, you may need to manually reload the page using your browser's reload button or by pressing Ctrl + R or Cmd + R.

+

This sometimes happens with new versions of the app or when in an iframe.

+
+
@@ -749,7 +769,7 @@ $effect(() => { data-sveltekit-preload-data="false" class="flex flex-col items-center justify-center h-full max-w-lg mx-auto space-y-4" > -

Access Denied

+

Access Denied

You do not have access to this site. You may need a passcode, sign in link, and or URL site key.

- - @@ -789,9 +799,20 @@ $effect(() => { class="text-center text-sm text-gray-500" class:hidden={!$ae_loc.iframe} > -

If you have tried the "Reload and Clear Cache" button, you may need to manually reload the page using your browser's reload button or by pressing Ctrl + R or Cmd + R.

+

If you have tried the "Clear Cache and Reload" button, you may need to manually reload the page using your browser's reload button or by pressing Ctrl + R or Cmd + R.

This sometimes happens with new versions of the app or when in an iframe.

+ + {:else if (browser && $ae_loc?.allow_access)} @@ -1094,35 +1115,112 @@ max-w-max --> {/if} + +
- + class=" + absolute bottom-0 left-0 + flex + text-sm sm:text-sm md:text-md lg:text-md xl:text-md 2xl:text-lg - +
+ + Debug +
+ +
+            {JSON.stringify($ae_loc, null, 2)}
+        
+ +
+ + + + --> - - + @@ -1130,29 +1228,29 @@ max-w-max --> /* BEGIN: AE's Svelte Quick Debug component */ #AE-Quick-Debug { /* position: absolute; */ - position: fixed; + /* position: fixed; */ /* position: relative; */ /* position: static; */ /* position: sticky; */ /* top: 1em; */ - bottom: 2rem; - left: 1rem; + /* bottom: 2rem; */ + /* left: 1rem; */ - padding: .0rem; + /* padding: .0rem; */ /* lightyellow */ /* background-color: hsla(60,100%,90%,.30); */ /* background-color: rgba(var(--color-surface-500) / .5); */ - border: none; + /* border: none; border-top: solid thin hsla(0,0%,0%,.25); border-left: solid thin hsla(0,0%,0%,.25); - border-bottom: solid thin hsla(0,0%,0%,.25); + border-bottom: solid thin hsla(0,0%,0%,.25); */ /* border-top-left-radius: .5em; */ /* border-bottom-left-radius: .5em; */ - opacity: .15; + /* opacity: .15; */ /* opacity: 1; */ font-size: .75rem; @@ -1170,16 +1268,16 @@ max-w-max --> /* lightyellow */ /* background-color: hsla(60,100%,90%,.95); */ /* background-color: rgba(var(--color-surface-500) / 1); */ - +/* border-top: solid thin hsla(0,0%,0%,.95); border-left: solid thin hsla(0,0%,0%,.95); - border-bottom: solid thin hsla(0,0%,0%,.95); + border-bottom: solid thin hsla(0,0%,0%,.95); */ - opacity: 1; + /* opacity: 1; */ - padding: .5rem; + /* padding: .5rem; */ - font-size: 1.75rem; + font-size: 1.5rem; /* Need to zoom 3.5 when hovering */ /* transform: scale(3.5); */