Nothing orphaned.
{:else}
@@ -541,7 +589,15 @@
{/if}
{#if trash === null}
- Trash is empty.
{:else}
diff --git a/web/src/lib/components/knowledge/WikiReader.svelte b/web/src/lib/components/knowledge/WikiReader.svelte
index 0130046..c395f96 100644
--- a/web/src/lib/components/knowledge/WikiReader.svelte
+++ b/web/src/lib/components/knowledge/WikiReader.svelte
@@ -27,7 +27,7 @@
import { Button } from '$lib/components/ui/button'
import { Input } from '$lib/components/ui/input'
import { Textarea } from '$lib/components/ui/textarea'
- import Spinner from '$lib/components/Spinner.svelte'
+ import { Skeleton } from '$lib/components/ui/skeleton'
import PencilIcon from '@lucide/svelte/icons/pencil'
import TrashIcon from '@lucide/svelte/icons/trash-2'
import HistoryIcon from '@lucide/svelte/icons/history'
@@ -224,7 +224,33 @@
{#if !item}
Couldn't load this note.
@@ -374,7 +400,21 @@
{#if revisionsLoading}
-
+
+
+ {#each Array(4) as _, i (i)}
+
+
+
+
+ {/each}
+
+
+ {#each Array(8) as _, i (i)}
+
+ {/each}
+
+
{:else if !revisions || revisions.length === 0}
No prior revisions — this is the first version.
diff --git a/web/src/pages/Knowledge.svelte b/web/src/pages/Knowledge.svelte
index 53205d7..2ec1199 100644
--- a/web/src/pages/Knowledge.svelte
+++ b/web/src/pages/Knowledge.svelte
@@ -20,6 +20,7 @@
import WikiQuickOpen from '$lib/components/knowledge/WikiQuickOpen.svelte'
import * as Dialog from '$lib/components/ui/dialog'
import { Button } from '$lib/components/ui/button'
+ import { Skeleton } from '$lib/components/ui/skeleton'
import WrenchIcon from '@lucide/svelte/icons/wrench'
import BookOpenIcon from '@lucide/svelte/icons/book-open'
@@ -149,9 +150,51 @@
{#if itemsLoading}
-
- Loading…
-
+
+
+
+
+
+
+
+ {#each Array(4) as _, gi (gi)}
+
+
+
+ {#each Array(3) as _, ri (ri)}
+
+ {/each}
+
+
+ {/each}
+
+
+
+
+
+
+
+
+ {#each Array(4) as _, i (i)}
+
+
+
+
+ {/each}
+
+
+
+ {#each Array(5) as _, i (i)}
+
+ {/each}
+
+
+
+
{:else if loadError}