From b461559d2f808bf0fb6c727e9c5ce2d68f3ae22e Mon Sep 17 00:00:00 2001 From: hyungi Date: Sat, 13 Jun 2026 16:39:44 +0900 Subject: [PATCH] =?UTF-8?q?fix(docpage):=20=EC=A0=88=20=EC=97=86=EB=8A=94?= =?UTF-8?q?=20=EB=AC=B8=EC=84=9C=EB=8F=84=20=EC=9D=B8=EC=82=AC=EC=9D=B4?= =?UTF-8?q?=ED=8A=B8=20=ED=95=AD=EC=83=81=20=ED=91=9C=EC=8B=9C=20(fallback?= =?UTF-8?q?=20=EA=B0=9C=EC=84=A0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 사용자 "절이 없더라도 인사이트는 보여야지" — fallback(절 데이터 없는 ~92% 문서)이 모바일에서 인사이트 레일을 긴 본문 아래에 묻던 문제 수정. bodyViewer 스니펫 분리 후: - 모바일: 인사이트 레일을 본문 위에 상시 표시 - 데스크탑: 본문 | 인사이트 레일(sticky) (별개: 절 트리/집중 뷰는 절 분석 있는 문서에서만 활성 — 현재 4358중 333. 커버리지 확대는 후속.) Co-Authored-By: Claude Fable 5 --- .../src/routes/documents/[id]/+page.svelte | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/frontend/src/routes/documents/[id]/+page.svelte b/frontend/src/routes/documents/[id]/+page.svelte index 201b9c9..fde5cfe 100644 --- a/frontend/src/routes/documents/[id]/+page.svelte +++ b/frontend/src/routes/documents/[id]/+page.svelte @@ -379,10 +379,10 @@
{#each sections as s (s.chunk_id)}{@render sectionCard(s)}{/each}
{:else} - -
+ + {#snippet fbViewer()}
- {#if !hasSections && canShowMarkdown}

절 분석이 없는 문서 — 전체 본문으로 표시합니다.

{/if} + {#if !hasSections && canShowMarkdown}

이 문서는 절 분석이 없어 전체 본문으로 표시합니다. 위/옆 인사이트는 그대로 제공됩니다.

{/if} {#if viewerType === 'markdown' || viewerType === 'hwp-markdown'} {:else if viewerType === 'pdf'} @@ -402,7 +402,17 @@ {#if doc.edit_url}
{/if} {:else}{/if}
-
{@render rail()}
+ {/snippet} + + + + +
+
{@render rail()}
+ {@render fbViewer()}
{/if}