From 47fe0e787dc4b965edb48c30da82062d857e6445 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Sun, 12 Jul 2026 06:29:05 +0900 Subject: [PATCH] =?UTF-8?q?fix(main):=20=EC=9E=A5=EB=A5=B4=20=ED=81=AC?= =?UTF-8?q?=EB=A6=AC=EC=97=90=EC=9D=B4=ED=84=B0=20=EC=84=B9=EC=85=98?= =?UTF-8?q?=EC=9D=84=20=EC=88=A8=EA=B8=B4=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Recommendation/MainHomeRecommendationView.swift | 12 ------------ docs/20260602_메인_홈_추천_UI_API_연동/plan-task.md | 10 ++++++++++ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/SodaLive/Sources/V2/Main/Home/Recommendation/MainHomeRecommendationView.swift b/SodaLive/Sources/V2/Main/Home/Recommendation/MainHomeRecommendationView.swift index 01e34a0c..d52bb888 100644 --- a/SodaLive/Sources/V2/Main/Home/Recommendation/MainHomeRecommendationView.swift +++ b/SodaLive/Sources/V2/Main/Home/Recommendation/MainHomeRecommendationView.swift @@ -50,18 +50,6 @@ struct MainHomeRecommendationView: View { onTapCharacter: onTapCharacter ) - MainHomeGenreCreatorSection( - items: viewModel.recommendations?.genreCreators ?? [], - isFollowAllCompleted: viewModel.isFollowAllCompleted, - isFollowAllLoading: viewModel.isFollowAllLoading, - onTapCreator: onTapCreator, - onTapFollowAll: { creatorIds, completionKey in - onTapFollowAll { - viewModel.followAll(creatorIds: creatorIds, completionKey: completionKey) - } - } - ) - MainHomeCheerCreatorSection( items: viewModel.recommendations?.cheerCreators ?? [], isFollowAllCompleted: viewModel.isFollowAllCompleted("cheer"), diff --git a/docs/20260602_메인_홈_추천_UI_API_연동/plan-task.md b/docs/20260602_메인_홈_추천_UI_API_연동/plan-task.md index ebbd189f..362de037 100644 --- a/docs/20260602_메인_홈_추천_UI_API_연동/plan-task.md +++ b/docs/20260602_메인_홈_추천_UI_API_연동/plan-task.md @@ -21,6 +21,16 @@ - 기존 `SodaLive/Sources/Home/HomeApi.swift`에는 `/api/v2/home/recommendations`를 추가하지 않는다. - 외부 라이브러리는 추가하지 않는다. +### 2026-07-12 장르 크리에이터 섹션 미표시 반영 + +- 목적: 메인 홈 추천 탭에서 서버 응답의 `genreCreators` 기반 장르(카테고리)별 크리에이터 UI를 표시하지 않는다. +- 수행 내용: + - `MainHomeRecommendationView`의 추천 탭 섹션 조립에서 `MainHomeGenreCreatorSection` 호출을 제거한다. + - `HomeRecommendationResponse.genreCreators` 모델 필드는 API 응답 디코딩을 위해 유지한다. +- 검증: + - `MainHomeRecommendationView`에서 `genreCreators`와 `MainHomeGenreCreatorSection` 참조가 없어야 한다. + - 추천 탭의 인접 섹션인 AI 캐릭터, 응원 크리에이터, 인기 커뮤니티, 사업자 정보 섹션은 기존 순서로 유지되어야 한다. + ## 주요 대상 파일 ### 확인/보완