diff --git a/web/src/lib/components/review/ReviewView.svelte b/web/src/lib/components/review/ReviewView.svelte deleted file mode 100644 index 4ea6bf1..0000000 --- a/web/src/lib/components/review/ReviewView.svelte +++ /dev/null @@ -1,48 +0,0 @@ - - - -
- {#if pending} -

Loading review queue…

- {:else if error} -

- Could not load review queue: {error instanceof Error ? error.message : 'unknown error'} -

- {:else if groups.length === 0} -
-

The review queue is empty.

-

- PhotoPrism's indexer flags photos with a low quality score for human review. New - arrivals with missing EXIF, low resolution, or unknown cameras will land here. -

-
- {:else} -

- {totalCount} photos in {groups.length} groups · arrow keys to focus, S to approve, A - to archive, Enter to inspect -

-
- {#each groups as g, i (g.cause)} - - {/each} -
- {/if} -
diff --git a/web/src/routes/review/+page.svelte b/web/src/routes/review/+page.svelte index ad59e6b..ab4a12f 100644 --- a/web/src/routes/review/+page.svelte +++ b/web/src/routes/review/+page.svelte @@ -1,14 +1,22 @@ Review + {#if tabs.length > 0} + +
+ {#each tabs as t (t.id)} + + {/each} +
+ {/if} {#snippet trailing()}
-
- +
+ {#if reviewQuery.isPending} +

Loading review queue…

+ {:else if reviewQuery.error} +

+ Could not load review queue: {reviewQuery.error instanceof Error + ? reviewQuery.error.message + : 'unknown error'} +

+ {:else if groups.length === 0} +
+

The review queue is empty.

+

+ PhotoPrism's indexer flags photos with a low quality score for human + review. New arrivals with missing EXIF, low resolution, or unknown + cameras will land here. +

+
+ {:else if activeGroup} + {#key activeGroup.cause} + + {/key} + {/if}
{#if !view.rightSidebarCollapsed && selection.focused}