From 8d894c856219b6dd30ea3892953a5eeb360bf718 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 22 Jul 2026 00:27:07 +0000 Subject: [PATCH] =?UTF-8?q?Stop=20showing=20source=20URLs=20in=20the=20Sou?= =?UTF-8?q?rces=20list=20=E2=80=94=20they=20were=20breaking=20the=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A long RSS/Google News URL with no natural wrap points would overflow its grid column and break the whole row layout. The URL is still visible (and editable) via the edit form — the list row now only shows a status line when there's something to say (poll result, error, or a just-cleared note). --- .../lib/components/admin/SourcesTab.svelte | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/frontend/src/lib/components/admin/SourcesTab.svelte b/frontend/src/lib/components/admin/SourcesTab.svelte index 0726238..f3f3b11 100644 --- a/frontend/src/lib/components/admin/SourcesTab.svelte +++ b/frontend/src/lib/components/admin/SourcesTab.svelte @@ -220,21 +220,21 @@
{source.name}
-
- {#if justCleared?.id === source.id} - ✓ cleared {justCleared.items} item(s), {justCleared.articles} article(s) - {:else if justPolled?.id === source.id} - {justPolled.count > 0 ? `✓ ${justPolled.count} new item(s)` : '✓ up to date, nothing new'} - {:else if source.lastError} - last poll failed · {source.lastError} - {:else} - {source.url} - {/if} -
+ {#if justCleared?.id === source.id || justPolled?.id === source.id || source.lastError} +
+ {#if justCleared?.id === source.id} + ✓ cleared {justCleared.items} item(s), {justCleared.articles} article(s) + {:else if justPolled?.id === source.id} + {justPolled.count > 0 ? `✓ ${justPolled.count} new item(s)` : '✓ up to date, nothing new'} + {:else if source.lastError} + last poll failed · {source.lastError} + {/if} +
+ {/if}
{source.type.toUpperCase()} {source.category.join(', ')}