diff --git a/src/routes/list/+page.svelte b/src/routes/list/+page.svelte new file mode 100644 index 0000000..7ff25ee --- /dev/null +++ b/src/routes/list/+page.svelte @@ -0,0 +1,340 @@ + + +
+ Enter a MAL username in the URL as /list?mal=USERNAME. This will fetch up to 20 anime from MAL (for now) and then query your local
+ client DB for related songs.
+
Loading…
+{:else if status === "error"} +Error: {error}
+{:else if status === "ready"} ++ No anime returned from MAL (did you set a restrictive status/sort?). +
+ {/if} + + {#if params.mal.trim() && !isLoadingDb && malEntries.length > 0 && songRows.length === 0} ++ No songs matched in the local database. This likely means none of the MAL + anime IDs exist in the snapshot DB. +
+ {/if} + + {#if songRows.length > 0} ++ More results exist on MAL, but pagination is not wired yet. +
+ {/if} +{/if}