feat: 뉴스 리스트에 RSS 요약 1줄 표시 + 상세 링크 현재 탭

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-04-06 14:52:57 +09:00
parent 7d6b5b92c0
commit 4f7cd437f5

View File

@@ -176,8 +176,11 @@
<span class="mt-1 text-[10px] {article.is_read ? 'text-[var(--text-dim)]' : 'text-[var(--accent)]'}">
{article.is_read ? '○' : '●'}
</span>
<div class="min-w-0">
<div class="min-w-0 flex-1">
<p class="text-sm truncate {article.is_read ? 'text-[var(--text-dim)]' : 'font-medium'}">{article.title}</p>
{#if article.extracted_text}
<p class="text-xs text-[var(--text-dim)] truncate mt-0.5">{article.extracted_text.split('\n').filter(l => l.trim() && l !== article.title)[0]?.slice(0, 120) || ''}</p>
{/if}
<div class="flex items-center gap-2 mt-0.5 text-[10px] text-[var(--text-dim)]">
<span>{article.ai_sub_group || ''}</span>
{#if article.ai_tags?.length}
@@ -228,8 +231,7 @@
<a
href="/documents/{selectedArticle.id}"
class="text-xs text-[var(--text-dim)] hover:text-[var(--text)]"
target="_blank"
>문서 상세 ↗</a>
>문서 상세</a>
<button
onclick={() => selectedArticle = null}
class="text-xs text-[var(--text-dim)] hover:text-[var(--text)]"