Stop showing source URLs in the Sources list — they were breaking the layout

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).
This commit is contained in:
Claude
2026-07-22 00:27:07 +00:00
parent 5d210c961c
commit 8d894c8562
@@ -220,21 +220,21 @@
</button> </button>
<div> <div>
<div class="name">{source.name}</div> <div class="name">{source.name}</div>
<div {#if justCleared?.id === source.id || justPolled?.id === source.id || source.lastError}
class="sub" <div
class:error={source.lastError && !justPolled && !justCleared} class="sub"
class:success={justPolled?.id === source.id || justCleared?.id === source.id} class:error={source.lastError && !justPolled && !justCleared}
> class:success={justPolled?.id === source.id || justCleared?.id === source.id}
{#if justCleared?.id === source.id} >
✓ cleared {justCleared.items} item(s), {justCleared.articles} article(s) {#if justCleared?.id === source.id}
{:else if justPolled?.id === source.id} ✓ cleared {justCleared.items} item(s), {justCleared.articles} article(s)
{justPolled.count > 0 ? `✓ ${justPolled.count} new item(s)` : '✓ up to date, nothing new'} {:else if justPolled?.id === source.id}
{:else if source.lastError} {justPolled.count > 0 ? `✓ ${justPolled.count} new item(s)` : '✓ up to date, nothing new'}
last poll failed · {source.lastError} {:else if source.lastError}
{:else} last poll failed · {source.lastError}
{source.url} {/if}
{/if} </div>
</div> {/if}
</div> </div>
<span class="badge">{source.type.toUpperCase()}</span> <span class="badge">{source.type.toUpperCase()}</span>
<span class="cat">{source.category.join(', ')}</span> <span class="cat">{source.category.join(', ')}</span>