const fmtTimestamp = (sec) => { if (sec == null) return ''; const total = Math.floor(sec); const h = Math.floor(total / 3600); const m = Math.floor((total % 3600) / 60); const s = total % 60; if (h) return `${h}:${String(m).padStart(2,'0')}:${String(s).padStart(2,'0')}`; return `${m}:${String(s).padStart(2,'0')}`; }; export default function PipelineDetailModal({ pipeline, onClose }) { if (!pipeline) return null; const meta = pipeline.metadata || {}; const review = pipeline.review || {}; return (
제목: {meta.title}
{meta.description}
태그: {(meta.tags || []).join(', ')}
| 메타데이터 품질 | {review.metadata_quality?.score} |
| 콘텐츠 정책 | {review.policy_compliance?.score} |
| 시청 경험 | {review.viewer_experience?.score} |
| 트렌드 정렬 | {review.trend_alignment?.score} |
{review.summary}
}[{f.step}] {f.feedback_text}
{(f.received_at || '').replace('T', ' ')}