Improvement to search progress and status and style

This commit is contained in:
Scott Idem
2025-08-22 15:51:08 -04:00
parent 7bb4e20ce7
commit 7136eb04d8
2 changed files with 30 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "osit-aether-app-svelte",
"version": "3.0.3",
"version": "3.0.4",
"description": "One Sky IT's Aether App created with Svelte, SvelteKit, Tailwind CSS, Lucide, Font Awesome, and Skeleton UI. -Scott Idem",
"homepage": "https://oneskyit.com/",
"private": true,

View File

@@ -138,7 +138,36 @@ if ($journals_trig.journal_entry_qry) {
<span class="hidden md:inline">
Clear
</span>
{#await $journals_prom.load__journal_entry_obj_li}
<span class="text-sm text-gray-500 italic">
Loading...
</span>
{:then load_result}
{#if load_result === null}
<span class="text-xs text-gray-600/80 dark:text-gray-400/80 italic font-semibold">
No entries found - null
</span>
{:else if load_result?.length === 0}
<span class="text-xs text-gray-600/80 dark:text-gray-400/80 italic font-semibold">
No entries found
</span>
{:else if $journals_sess.entry_li?.length === 0}
<span class="text-xs text-gray-600/80 dark:text-gray-400/80 italic">
Enter to search
</span>
{:else}
<span class="text-xs text-gray-600/80 dark:text-gray-400/80 italic">
{load_result?.length ?? 0} found
</span>
{/if}
{:catch error}
<span class="text-xs text-red-600/80 dark:text-red-400/80 italic">
Error loading entries.
</span>
{/await}
</button>
</span>