feat(home): 사업자 정보 섹션을 연결한다

This commit is contained in:
Yu Sung
2026-06-30 02:17:54 +09:00
parent 339ca78793
commit 56e0c3dc27
5 changed files with 103 additions and 20 deletions

View File

@@ -401,7 +401,7 @@
### Phase 16: 사업자 정보 섹션 UI
- [ ] **Task 16.1: 사업자 정보 더보기/접기 섹션 작성/보완**
- [x] **Task 16.1: 사업자 정보 더보기/접기 섹션 작성/보완**
- 대상 파일:
- 생성/보완: `SodaLive/Sources/V2/Main/Home/Recommendation/Components/MainHomeBusinessInfoSection.swift`
- 확인/보완: `SodaLive/Sources/V2/Component/Text/ExpandableTextView.swift`
@@ -412,7 +412,7 @@
- 더보기 터치 시 전체 표시와 `접기`를 제공한다.
- 외부 라이브러리를 사용하지 않는다.
- 검증 기준:
- 실행 명령: `rg "MainHomeBusinessInfoSection|ExpandableTextView|lineLimit|더보기|접기" SodaLive/Sources/V2`
- 실행 명령: `rg "MainHomeBusinessInfoSection|BusinessInfoExpandableTextView|ExpandableTextView|lineLimit|더보기|접기" SodaLive/Sources/V2`
- 기대 결과: 사업자 정보 섹션과 확장 텍스트 구현이 확인된다.
### Phase 17: 섹션 조립 순서와 빈 섹션 처리
@@ -479,6 +479,21 @@
## 검증 기록
### 2026-06-30 Phase 16 사업자 정보 섹션 구현 완료
- 목적: V2 Main Home 추천 탭 마지막에 사업자 정보 더보기/접기 섹션을 연결
- 수행 내용:
- `MainHomeBusinessInfoSection`을 추가해 기존 `I18n.Settings.companyInfo`를 표시
- 기존 `ExpandableTextView` 이름 충돌을 피하기 위해 파일 내부 전용 `BusinessInfoExpandableTextView`로 기본 3줄 `lineLimit`, `더보기`, `접기` 동작을 연결
- `MainHomeRecommendationView`에서 인기 커뮤니티 섹션 다음에 사업자 정보 섹션을 배치
- 신규 `MainHomeBusinessInfoSection.swift``SodaLive.xcodeproj/project.pbxproj` 빌드 대상에 포함
- 검증:
- `rg "MainHomeBusinessInfoSection|BusinessInfoExpandableTextView|ExpandableTextView|lineLimit|더보기|접기" SodaLive/Sources/V2` 실행, 사업자 정보 섹션/3줄 제한/더보기 접기 구현 확인
- `plutil -lint SodaLive.xcodeproj/project.pbxproj` 실행, `OK` 확인
- `git diff --check` 실행, 출력 없이 성공 확인
- `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive-dev" test` 실행, `Scheme SodaLive-dev is not currently configured for the test action`으로 테스트 액션 미구성 확인
- `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive-dev" -configuration Debug build` 실행, `BUILD SUCCEEDED` 확인
### 2026-06-30 Phase 15 isLiked 컴파일 보완
- 목적: `HomePopularCommunityPostItem.isLiked` 추가 이후 추천 인기 커뮤니티 섹션 컴파일 오류 보완