From e5ccf1a9e422d9b1fe07920c59d3c94aab8fe8e2 Mon Sep 17 00:00:00 2001 From: "sungjin.choi" Date: Mon, 30 Nov 2026 11:04:17 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=EC=9E=90=EB=A3=8C=EC=8B=A4=20?= =?UTF-8?q?=EC=83=81=EC=84=B8=EC=97=90=20=EC=9B=90=EB=B3=B8=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=EB=AC=BC=20=EC=84=A4=EB=AA=85=EA=B8=80=20=ED=91=9C?= =?UTF-8?q?=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- src/features/bbs/components/MediaDetail.tsx | 7 +++++++ src/features/bbs/types.ts | 1 + 2 files changed, 8 insertions(+) diff --git a/src/features/bbs/components/MediaDetail.tsx b/src/features/bbs/components/MediaDetail.tsx index 998ea6b..0f8009d 100644 --- a/src/features/bbs/components/MediaDetail.tsx +++ b/src/features/bbs/components/MediaDetail.tsx @@ -124,6 +124,13 @@ export default function MediaDetail({ id, token, categories, onError, onDeleted, 상태: {STATUS[post.status]}
+ {post.description && ( + <> + {/* pre-wrap: 인스타 본문의 줄바꿈을 그대로 보여줌 */} +
{post.description}
+
+ + )} {post.status === "DOWNLOADING" ? (
{post.progress === null ? "다운로드 준비 중..." : bar(post.progress, 20)} diff --git a/src/features/bbs/types.ts b/src/features/bbs/types.ts index 1fa2e03..7aabb56 100644 --- a/src/features/bbs/types.ts +++ b/src/features/bbs/types.ts @@ -38,6 +38,7 @@ export interface MediaFile { export interface MediaPost { id: number; title: string; + description: string | null; // 원본 게시물 설명글 (인스타 본문). 없으면 null sourceUrl: string; category: string | null; // null = 미분류 status: "DOWNLOADING" | "DONE" | "FAILED";