Lots of little changes to make things better for the end users. Staff, members, presenters, etc.

This commit is contained in:
Scott Idem
2026-06-24 13:23:33 -04:00
parent 5bf9a72fcd
commit 4139e281ee
3 changed files with 18 additions and 12 deletions

View File

@@ -496,7 +496,7 @@ class:to-90%={$ae_sess.show_help_tech} -->
transition-all transition-all
{btn_class} {btn_class}
" "
title="Clear & Reload: Delete all IDB caches and reload. In edit mode also clears localStorage/sessionStorage, preserving your sign-in."> title="Clear & Reload: Delete all IDB caches, unregister service workers, and reload, preserving your sign-in. In edit mode also clears localStorage/sessionStorage.">
<RefreshCw size="1em" class="inline-block" /> <RefreshCw size="1em" class="inline-block" />
<span class="md:inline">Clear & Reload</span> <span class="md:inline">Clear & Reload</span>
</button> </button>
@@ -508,7 +508,7 @@ class:to-90%={$ae_sess.show_help_tech} -->
onclick={async () => { onclick={async () => {
if ( if (
!confirm( !confirm(
'FULL RESET: Unregister service workers, clear all caches, delete ALL IndexedDB databases, clear localStorage and sessionStorage, then reload? This cannot be undone.' 'FULL RESET: Unregister service workers, clear all caches, delete ALL IndexedDB databases, clear localStorage and sessionStorage, then reload?'
) )
) { ) {
return; return;

View File

@@ -106,7 +106,7 @@ async function handle_clear_idb_only() {
async function handle_clear_storage_and_idb() { async function handle_clear_storage_and_idb() {
if ( if (
!confirm( !confirm(
'FULL RESET: Unregister service workers, clear all caches, delete IndexedDB databases, clear localStorage and sessionStorage, then reload? This cannot be undone.' 'FULL *Site* RESET: Unregister service workers, clear all caches, delete IndexedDB databases, clear localStorage and sessionStorage, then reload page?'
) )
) )
return; return;

View File

@@ -117,18 +117,21 @@ onMount(() => {
window.location.reload(); window.location.reload();
}} }}
class="btn btn-sm preset-tonal-surface hover:preset-outlined-warning text-error-300 hover:text-error-800 m-1 transition-all" class="btn btn-sm
title="Clear & Reload: Delete all IDB caches, unregister service workers, and reload. In edit mode also clears localStorage/sessionStorage, preserving your sign-in."> preset-tonal-surface
<!-- <span class="fas fa-sync mx-1"></span> --> preset-outlined-warning-100-900
hover:preset-filled-warning-200-800
m-1 transition-all"
title="Clear & Reload: Delete all IDB caches, unregister service workers, and reload, preserving your sign-in. In edit mode also clears localStorage/sessionStorage.">
<RefreshCw class="mx-1" /> <RefreshCw class="mx-1" />
Reload Clear & Reload
</button> </button>
<button <button
type="button" type="button"
onclick={async () => { onclick={async () => {
if ( if (
!confirm( !confirm(
'FULL RESET: Unregister service workers, clear all caches, delete IndexedDB databases, clear localStorage and sessionStorage, then reload? This cannot be undone.' 'FULL RESET: Unregister service workers, clear all caches, delete IndexedDB databases, clear localStorage and sessionStorage, then reload?'
) )
) { ) {
return; return;
@@ -154,11 +157,14 @@ onMount(() => {
window.location.reload(); window.location.reload();
}} }}
class="btn btn-sm preset-tonal-surface hover:preset-outlined-warning text-error-300 hover:text-error-800 m-1 p-1 transition-all" class="btn btn-sm
title="Full Reset: Unregister service workers, clear all caches, delete IndexedDB databases, clear localStorage and sessionStorage for this origin, then reload."> preset-tonal-surface
<!-- <span class="fas fa-sync mx-1"></span> --> preset-outlined-error-100-900
hover:preset-filled-error-200-800
m-1 p-1 transition-all"
title="Full Reset: Unregister service workers, clear all caches, delete IndexedDB databases, clear localStorage and sessionStorage for this origin, then reload. This may help fix issues with stale service workers or corrupted IndexedDB data.">
<RefreshCcwDot class="mx-1" /> <RefreshCcwDot class="mx-1" />
Clear Storage and Reload Clear Browser's Site Caches and Reload
</button> </button>
{#if $ae_loc?.trusted_access} {#if $ae_loc?.trusted_access}