From d63535ad1baa3597bff36c33f096925ccaff9a92 Mon Sep 17 00:00:00 2001 From: Rasmus Q Date: Mon, 16 Mar 2026 13:47:10 +0000 Subject: [PATCH] feat: auto-load images when ItemForm opens with existing URL --- src/lib/components/wishlist/ItemForm.svelte | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/components/wishlist/ItemForm.svelte b/src/lib/components/wishlist/ItemForm.svelte index 8057db0..f66ca78 100644 --- a/src/lib/components/wishlist/ItemForm.svelte +++ b/src/lib/components/wishlist/ItemForm.svelte @@ -100,6 +100,13 @@ onColorChange?.(item.id, color || ''); } } + + // Auto-load images when form opens with existing URL + $effect(() => { + if (linkUrl && linkUrl.startsWith('http')) { + scrapeImages(linkUrl); + } + });