docs(plan): 라이브 이미지 관련 작업 계획 문서를 추가한다

This commit is contained in:
Yu Sung
2026-03-17 17:05:57 +09:00
parent 606470ae04
commit afca24c221
2 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# 20260317 라이브 수정 배경 이미지 크롭 추가
## 구현 체크리스트
- [x] 라이브 생성 화면의 이미지 선택/크롭 플로우 분석
- QA: `LiveRoomCreateView``selectedPickedImage -> normalizedForCrop -> ImageCropEditorView(aspectPolicy: .free)` 흐름과 동일 여부 확인
- [x] 라이브 수정 화면(`LiveRoomViewV2`)에 크롭 상태값 및 전환 로직 추가
- QA: 배경 이미지 선택 직후 크롭 화면이 표시되고, 적용 시 `viewModel.coverImage`에 크롭 결과 반영
- [x] 라이브 수정 다이얼로그와 기존 저장 로직(`editLiveRoomInfo`) 호환 유지
- QA: 크롭 완료 이미지가 다이얼로그 썸네일에 노출되고 수정하기 동작 시 기존 multipart 업로드 흐름 유지
- [x] 정적 진단 및 빌드 검증
- QA: 수정 파일 `lsp_diagnostics` 오류 0건, `xcodebuild ... build` 성공
## 검증 기록
- 2026-03-17
- 무엇/왜/어떻게: 라이브 수정 다이얼로그에서 사진 선택 시 바로 `viewModel.coverImage`로 반영되던 흐름을 생성 화면과 동일하게 `선택 -> 이미지 정규화(normalizedForCrop) -> ImageCropEditorView(.free) -> 적용` 순서로 변경했다. 크롭 처리 중에는 반투명 오버레이와 `ProgressView`를 노출해 사용자 대기 상태를 명확히 했다.
- 실행 명령: `lsp_diagnostics` (`SodaLive/Sources/Live/Room/V2/LiveRoomViewV2.swift`)
- 결과: 오류 0건
- 실행 명령: `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.`