feat(creator): 라이브 탭 빈 상태를 추가한다

This commit is contained in:
Yu Sung
2026-07-04 03:39:41 +09:00
parent b6580e201f
commit 6600cd43c1
4 changed files with 69 additions and 25 deletions

View File

@@ -232,6 +232,19 @@
- 실행 명령: `rg "struct CreatorChannelLiveTabView|CreatorChannelLiveViewModel|fetchFirstPage\\(creatorId: creatorId\\)|CreatorChannelSortBar|CreatorChannelSortBottomSheet|CreatorChannelCurrentLiveSection|CreatorChannelAudioContentListItem|fetchNextPageIfNeeded|onTapContent\\(audioContent.audioContentId\\)|isOwnCreatorChannel" SodaLive/Sources/V2/CreatorChannel/Live/CreatorChannelLiveTabView.swift`
- 기대 결과: 라이브 탭 화면, 정렬, 현재 라이브, 다시듣기 목록, pagination이 확인된다.
- [x] **Task 4.4: 라이브 탭 Empty 상태 추가**
- 대상 파일:
- 수정: `SodaLive/Sources/V2/CreatorChannel/Live/CreatorChannelLiveTabView.swift`
- 수정: `SodaLive/Sources/I18n/I18n.swift`
- 작업 내용:
- `currentLive == nil`이고 `liveReplayContentCount == 0`이면 Empty 상태를 표시한다.
- Empty 상태에서는 `CreatorChannelSortBar`, `CreatorChannelCurrentLiveSection`, 다시듣기 list를 숨긴다.
- Empty 문구는 `I18n.CreatorChannelLive.emptyMessage`를 사용하고 `크리에이터가 라이브를 준비중입니다.\n기대해 주세요!`로 표시한다.
- Empty 문구 영역에는 vertical padding `48pt`를 적용한다.
- 검증 기준:
- 실행 명령: `rg "emptyMessage|isEmptyState|padding\(\.vertical, 48\)|CreatorChannelSortBar" SodaLive/Sources/V2/CreatorChannel/Live/CreatorChannelLiveTabView.swift SodaLive/Sources/I18n/I18n.swift`
- 기대 결과: Empty 조건, 문구, vertical padding, sort-bar 숨김 분기가 확인된다.
### Phase 5: CreatorChannelView 연결
- [x] **Task 5.1: 라이브 탭 콘텐츠 연결**
@@ -357,3 +370,4 @@
- 2026-07-04: Phase 7.3 수동 동작 검증은 blocked. iOS Simulator는 사용 가능하나 실제 로그인 세션, 타인/본인 크리에이터 채널 테스트 데이터, 라이브/다시듣기 응답 데이터, 네트워크 요청 관찰 수단이 없어 CLI 환경에서 PRD Success Criteria 전체를 완료 검증하지 않음.
- 2026-07-04: 리뷰 반영. sort-bar 카운트 표시 요구사항이 제거되어 PRD/계획서를 현재 정렬 표시 기준으로 갱신함.
- 2026-07-04: 리뷰 반영. 본인 채널 라이브 시작하기 CTA를 `CreatorChannelLiveTabView` 내부 scroll content overlay에서 `CreatorChannelView` 최상위 overlay로 이동해 화면 하단 고정 구조로 변경함.
- 2026-07-04: 요구사항 추가 반영. 진행 중인 라이브가 없고 라이브 다시듣기 콘텐츠가 0개인 경우 sort-bar/list를 숨기고 Empty 문구만 표시하도록 PRD/계획/구현을 갱신함.