feat: 뉴스 리스트에 RSS 요약 1줄 표시 + 상세 링크 현재 탭
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -176,8 +176,11 @@
|
|||||||
<span class="mt-1 text-[10px] {article.is_read ? 'text-[var(--text-dim)]' : 'text-[var(--accent)]'}">
|
<span class="mt-1 text-[10px] {article.is_read ? 'text-[var(--text-dim)]' : 'text-[var(--accent)]'}">
|
||||||
{article.is_read ? '○' : '●'}
|
{article.is_read ? '○' : '●'}
|
||||||
</span>
|
</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>
|
<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)]">
|
<div class="flex items-center gap-2 mt-0.5 text-[10px] text-[var(--text-dim)]">
|
||||||
<span>{article.ai_sub_group || ''}</span>
|
<span>{article.ai_sub_group || ''}</span>
|
||||||
{#if article.ai_tags?.length}
|
{#if article.ai_tags?.length}
|
||||||
@@ -228,8 +231,7 @@
|
|||||||
<a
|
<a
|
||||||
href="/documents/{selectedArticle.id}"
|
href="/documents/{selectedArticle.id}"
|
||||||
class="text-xs text-[var(--text-dim)] hover:text-[var(--text)]"
|
class="text-xs text-[var(--text-dim)] hover:text-[var(--text)]"
|
||||||
target="_blank"
|
>문서 상세</a>
|
||||||
>문서 상세 ↗</a>
|
|
||||||
<button
|
<button
|
||||||
onclick={() => selectedArticle = null}
|
onclick={() => selectedArticle = null}
|
||||||
class="text-xs text-[var(--text-dim)] hover:text-[var(--text)]"
|
class="text-xs text-[var(--text-dim)] hover:text-[var(--text)]"
|
||||||
|
|||||||
Reference in New Issue
Block a user