feat : 자료실 상세에 원본 게시물 설명글 표시
SpecialSource Frontend (React) CD / deploy (push) Successful in 15s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
headporterandClaude Opus 5.5 committed 2026-11-30 11:04:17 +09:00
1 parent dbefd534c7
commit e5ccf1a9e4
2 files changed
+8

No files matched your search

@@ -124,6 +124,13 @@ export default function MediaDetail({ id, token, categories, onError, onDeleted,
<span>상태:</span> {STATUS[post.status]}
</div>
<hr className={styles.rule} />
{post.description && (
<>
{/* pre-wrap: 인스타 본문의 줄바꿈을 그대로 보여줌 */}
<div style={{ whiteSpace: "pre-wrap" }}>{post.description}</div>
<hr className={styles.rule} />
</>
)}
{post.status === "DOWNLOADING" ? (
<div>
<span className={styles.accent}>{post.progress === null ? "다운로드 준비 중..." : bar(post.progress, 20)}</span>
+1
View File
@@ -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";