From 90671ee962c15f31361d94d4fcefc952760e6969 Mon Sep 17 00:00:00 2001 From: Yuri Tatishchev Date: Thu, 5 Feb 2026 20:30:08 -0800 Subject: [PATCH] add status search filter to page --- src/routes/list/+page.svelte | 55 ++++++++++++++++++++++++++---------- 1 file changed, 40 insertions(+), 15 deletions(-) diff --git a/src/routes/list/+page.svelte b/src/routes/list/+page.svelte index 843590c..e68396e 100644 --- a/src/routes/list/+page.svelte +++ b/src/routes/list/+page.svelte @@ -174,20 +174,45 @@ {:else if status === "error"}

Error: {error}

{:else if status === "ready"} -
- - - (params.mal = (e.currentTarget as HTMLInputElement).value)} - autocomplete="off" - spellcheck={false} - /> +
+
+
+ + + (params.mal = (e.currentTarget as HTMLInputElement).value)} + autocomplete="off" + spellcheck={false} + /> +
+ +
+ + +
+
{#if !(params.mal ?? "").trim()} @@ -219,7 +244,7 @@
{/if} -
+ {#if (params.mal ?? "").trim() && !isLoadingMal && malEntries.length === 0}