fix(live): 프로필 라이브 상세를 프로필 화면에서 표시한다

This commit is contained in:
Yu Sung
2026-03-06 18:13:09 +09:00
parent 298c02b83f
commit 33f9ddfd12
3 changed files with 77 additions and 15 deletions

View File

@@ -0,0 +1,13 @@
## 구현 체크리스트
- [x] `UserProfileView`에서 라이브 카드 탭 시 어떤 뷰 계층에서 `LiveDetailView`가 표시되는지 확인한다.
- [x] `LiveDetailView``HomeView`가 아닌 `UserProfileView` 컨텍스트에서 표시되도록 수정한다.
- [x] 관련 진단/빌드/테스트를 수행한다.
- [x] 검증 기록을 누적한다.
## 검증 기록
- (완료) 최초 문서 생성
- (확인) 무엇: 표시 위치 원인 분석 / 왜: `HomeView` 컨텍스트 표시 원인 파악 / 어떻게: `ContentView.swift`, `AppState.swift`, `AppStep.swift` 흐름 점검 / 결과: 전역 `liveDetailSheet``ContentView` 루트 ZStack에서 렌더링되어 Home 배경으로 표시됨
- (수정) 무엇: 프로필 라이브 상세 표시 컨텍스트 변경 / 왜: `UserProfileView` 위에서 `LiveDetailView`를 표시하기 위해 / 어떻게: `UserProfileView``profileLiveDetailSheet` 상태 추가 후 로컬 `LiveDetailView` 오버레이로 전환 / 결과: 프로필 화면 컨텍스트에서 라이브 상세 표시
- (검증) 무엇: 수정 파일 LSP 진단 / 왜: 문법·타입 확인 / 어떻게: `lsp_diagnostics(UserProfileView.swift)` / 결과: `No such module 'Kingfisher'` 1건(로컬 SourceKit 인덱싱 환경 이슈)
- (검증) 무엇: 앱 빌드 / 왜: 컴파일 안정성 확인 / 어떻게: `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive" -configuration Debug build` / 결과: `** BUILD SUCCEEDED **`
- (검증) 무엇: 테스트 실행 / 왜: 회귀 확인 / 어떻게: `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive" test` / 결과: `Scheme SodaLive is not currently configured for the test action.`