fix(navigation): 라이브 재생 중 외부 이동을 확인 후 처리한다

This commit is contained in:
Yu Sung
2026-03-06 18:56:49 +09:00
parent 33f9ddfd12
commit cab9795557
5 changed files with 219 additions and 23 deletions

View File

@@ -0,0 +1,22 @@
# 20260306 홈 푸시 이동 트리거 보정
## 작업 목표
- `HomeView`에서 푸시 탭 후 `pushRoomId` 외 경로(`pushChannelId`, `pushMessageId`, `pushAudioContentId`, `pushSeriesId`)가 누락되는 현상을 보정한다.
## 구현 체크리스트
- [x] `push*` `valueChanged` 트리거 누락 원인 확인
- [x] `HomeView`의 푸시 처리 로직 보정
- [x] 진단/빌드/테스트 검증
## 검증 기록
- 무엇/왜/어떻게: `HomeView`의 푸시 처리에서 `pushChannelId`, `pushMessageId`, `pushAudioContentId`, `pushSeriesId`(및 `pushRoomId`) 값을 소비하지 않으면 동일 ID 재수신 시 `onChange`가 재발화되지 않아 이동 누락이 발생할 수 있어, 각 `valueChanged` 시작 시 로컬 변수에 보관 후 즉시 해당 `push*` 값을 `0`으로 초기화하도록 수정했다.
- 실행 명령: `lsp_diagnostics` (`SodaLive/Sources/Main/Home/HomeView.swift`)
- 결과: SourceKit 컨텍스트에서 `No such module 'Firebase'` 오탐이 발생했고, 실제 컴파일 유효성은 빌드로 검증했다.
- 실행 명령: `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive" -configuration Debug build`
- 결과: 병렬 빌드 시 1회 `build.db` lock 실패 후 단독 재실행에서 `** BUILD SUCCEEDED **`.
- 실행 명령: `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive-dev" -configuration Debug build`
- 결과: `** BUILD SUCCEEDED **`.
- 실행 명령: `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive" test`
- 결과: `Scheme SodaLive is not currently configured for the test action.`
- 실행 명령: `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive-dev" test`
- 결과: `Scheme SodaLive-dev is not currently configured for the test action.`