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,6 +220,7 @@
</button> </button>
<div> <div>
<div class="name">{source.name}</div> <div class="name">{source.name}</div>
{#if justCleared?.id === source.id || justPolled?.id === source.id || source.lastError}
<div <div
class="sub" class="sub"
class:error={source.lastError && !justPolled && !justCleared} class:error={source.lastError && !justPolled && !justCleared}
@@ -231,10 +232,9 @@
{justPolled.count > 0 ? `✓ ${justPolled.count} new item(s)` : '✓ up to date, nothing new'} {justPolled.count > 0 ? `✓ ${justPolled.count} new item(s)` : '✓ up to date, nothing new'}
{:else if source.lastError} {:else if source.lastError}
last poll failed · {source.lastError} last poll failed · {source.lastError}
{:else}
{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>