From c493b301f8b62c60fa09a7af61bec11a943cab05 Mon Sep 17 00:00:00 2001 From: Cassidy James Blaede Date: Wed, 2 Sep 2026 22:00:58 -0600 Subject: [PATCH] RSS: refetch feed when the URL changes The card read `item.cardData.href` only once inside `onMount`, so setting the feed URL from Source settings after the card was already mounted left `feedUrl` stuck at `''` and showed "Add an RSS feed URL" forever. Replacing the one-shot mount fetch with a reactive `$effect` makes the card load the feed as soon as the URL changes, which also keeps the edit previewer in sync. --- .../content/RSSFeedCard/RSSFeedCard.svelte | 34 +++++++++++-------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/apps/web/src/lib/cards/content/RSSFeedCard/RSSFeedCard.svelte b/apps/web/src/lib/cards/content/RSSFeedCard/RSSFeedCard.svelte index 8394e27..b7a0035 100644 --- a/apps/web/src/lib/cards/content/RSSFeedCard/RSSFeedCard.svelte +++ b/apps/web/src/lib/cards/content/RSSFeedCard/RSSFeedCard.svelte @@ -1,5 +1,4 @@ -- 2.51.2