Merge branch 'main' into feature-ssulbox

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
skkimandCursor committed 2026-08-19 15:15:53 +09:00
commit 4fe065378f
25 files changed
+2578 -358

No files matched your search

+9 -1
View File
@@ -163,7 +163,15 @@ const ADO2ContentsPage: React.FC<ADO2ContentsPageProps> = () => {
}
>
<div className="content-card-thumbnail ado2-gallery-thumbnail-wrap">
{video.thumbnail_url ? (
{video.poster_url ? (
<img
src={video.poster_url}
alt={video.store_name}
loading="lazy"
decoding="async"
className="content-video-preview"
/>
) : video.thumbnail_url ? (
<img
src={video.thumbnail_url}
alt={video.store_name}
@@ -478,6 +478,7 @@ const CompletionContent: React.FC<CompletionContentProps> = ({
created_at: new Date().toISOString(),
like_count: 0,
comment_count: 0,
is_liked_by_me: false,
}
: null
}
+7 -1
View File
@@ -79,6 +79,7 @@ interface BusinessInfo {
}
interface GenerationFlowProps {
onHome?: () => void;
initialActiveItem?: string;
initialImageList?: ImageListItem[];
businessInfo?: BusinessInfo;
@@ -94,6 +95,7 @@ interface GenerationFlowProps {
// 3: 완료 (Completion)
const GenerationFlow: React.FC<GenerationFlowProps> = ({
onHome,
initialActiveItem = NAV.HOME,
initialImageList = [],
businessInfo,
@@ -311,7 +313,7 @@ const GenerationFlow: React.FC<GenerationFlowProps> = ({
setImageList(prev => [...newImages, ...prev]);
};
// 홈 버튼(로고) 클릭 시 모든 상태 초기화 후 ADO2 콘텐츠 갤러리로 이동
// 홈 버튼(로고) 클릭 시 프로젝트 상태를 비우고, 부모가 있으면 랜딩으로 돌아간다.
const handleHome = () => {
clearProjectStorage();
localStorage.removeItem(ANALYSIS_DATA_KEY);
@@ -321,6 +323,10 @@ const GenerationFlow: React.FC<GenerationFlowProps> = ({
setAnalysisData(null);
revokeAllPreviews(imageListRef.current);
setImageList([]);
if (onHome) {
onHome();
return;
}
setActiveItem(NAV.HOME);
};
+9 -1
View File
@@ -264,7 +264,15 @@ const MyContentsPage: React.FC<MyContentsPageProps> = ({ onNavigate, embedded })
: setSelectedVideoId(video.video_id)
}
>
{video.result_movie_url ? (
{video.poster_url ? (
<img
src={video.poster_url}
alt={video.store_name}
loading="lazy"
decoding="async"
className="content-video-preview"
/>
) : video.result_movie_url ? (
<VideoPreviewCard
src={video.result_movie_url}
className="content-video-preview"