From 540bc00dba2470a6ded1a4b22d10de6593e3762e Mon Sep 17 00:00:00 2001 From: hyungi Date: Sat, 13 Jun 2026 15:18:15 +0900 Subject: [PATCH] =?UTF-8?q?feat(docpage):=20D3=20=EC=A0=88=20=EA=B5=AC?= =?UTF-8?q?=EC=A1=B0=20=ED=83=90=EC=83=89=EA=B8=B0=20=E2=80=94=20=EC=8A=AC?= =?UTF-8?q?=EB=A6=BC=20=EC=9D=B8=EC=82=AC=EC=9D=B4=ED=8A=B8=20=EB=A0=88?= =?UTF-8?q?=EC=9D=BC=20+=20=EC=A0=88=20=ED=8A=B8=EB=A6=AC=20(frontend=20on?= =?UTF-8?q?ly)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문서 상세 /documents/[id] 재구성 (BE 무변경): - 우측 탭(정보/AI/관리) → 슬림 전역 인사이트 레일: 요약·심층·불일치를 탭 게이트 없이 상시 노출(details open, 모바일은 접기 가능), 정보/관리는 접이. → 가공 자료가 탭/온디맨드에 묻히던 IA 문제(G1) 해소. - SectionOutline 절 목차 레벨 기반 들여쓰기(평탄→트리 모양). - 모바일: 본문 메인 + 절목차/인사이트/정보/관리 접이 + 절 탭 본문 이동(기존 구조 활용). 관련 문서(See Also)는 v1 제외(자리만 유지). 심화 목업 = comparisons/2026-06-13-ds-docpage-d3-deepened.html. Co-Authored-By: Claude Fable 5 --- .../src/lib/components/SectionOutline.svelte | 5 +- .../src/routes/documents/[id]/+page.svelte | 110 ++++++++++-------- 2 files changed, 66 insertions(+), 49 deletions(-) diff --git a/frontend/src/lib/components/SectionOutline.svelte b/frontend/src/lib/components/SectionOutline.svelte index e9a5709..ab213aa 100644 --- a/frontend/src/lib/components/SectionOutline.svelte +++ b/frontend/src/lib/components/SectionOutline.svelte @@ -43,14 +43,17 @@ {@const open = selectedId === s.chunk_id} {@const active = activeKey != null && activeKey === s.chunk_id} {@const typeLabel = sectionTypeLabel(s.section_type)} + {@const depth = Math.max(0, (s.level ?? 1) - 1)}