Skip to content

[Feat] [운세] 운세 홈 요약 화면 구현 (#65) - #75

Merged
seungwone merged 6 commits into
releasefrom
feature/65-fortune-home
Aug 11, 2026
Merged

seungwone merged 6 commits into
releasefrom
feature/65-fortune-home

Conversation

@seungwone

Copy link
Copy Markdown
Collaborator

변경 내용

  • Fortune 홈 화면과 loading·loaded·failed 상태를 TCA로 구현했습니다.
  • 총운 점수 원본값으로 Mood Level을 판정하고 표시 점수는 반올림합니다.
  • Mood Level 4단계 캐릭터 에셋과 Level 03 fallback을 추가했습니다.
  • 갤럭시 배경, 흰 시트, 작은 화면과 스크롤 바운스 레이아웃을 보정했습니다.
  • 화면 전용 이미지 리소스를 FortuneFeature 번들로 분리했습니다.
  • 공통 pressed interaction과 Feature UI 개발 규칙을 정리했습니다.

고민한 내용

  • 화면 너비는 특정 기기 값으로 고정하지 않고 부모 컨테이너와 가로 inset으로 결정했습니다.
  • 시각 섹션은 독립 상태나 effect가 없으므로 별도 Reducer가 아닌 Feature 내부 View로 구성했습니다.
  • Mood Level 판정에는 반올림 전 점수를 사용하고 표시값만 반올림하도록 분리했습니다.
  • 갤럭시 이미지는 scroll content 높이까지 확대하지 않고 원본 비율과 단색 fallback 배경을 유지합니다.

스크린샷

  • 사용자 직접 렌더링 검증 완료. 요청에 따라 PR 첨부는 생략합니다.

테스트

  • FortuneFeature Swift Testing 12개 테스트·25개 실행 통과
  • FortuneFeatureExample 빌드
  • 전체 SwiftLint 통과
  • ./scripts/sync-and-validate.sh 통과
  • 사용자가 작은 화면과 메인 앱에서 직접 렌더링 검증

PR Preflight Review

  • Status: Skip
  • Mode: Skip
  • Roles: 해당 없음
  • Rounds: 0
  • Accepted findings: 해당 없음
  • Rejected findings: 해당 없음
  • Verification: Swift Testing, SwiftLint, 아키텍처 검증, 사용자 수동 검증
  • Residual risk: 스크린샷 및 AI Preflight Review는 사용자 요청에 따라 생략

참고 사항

체크리스트

  • 로컬에서 정상 동작을 확인했습니다.
  • 필요한 테스트를 실행했습니다.
  • PR Preflight Review 생략 사유를 작성했습니다.
  • UI 스크린샷은 사용자 요청에 따라 생략했습니다.
  • 문서나 설정 변경이 필요한지 확인했습니다.

Closes #65

- Fortune 홈 화면용 이미지 및 아이콘 에셋과 타입 안전 접근 API를 추가했습니다.
- 화면 전용 surface와 icon 버튼에서 재사용할 pressed overlay 스타일을 공개했습니다.
- 에셋 매핑과 pressed 스타일 테스트 및 DesignSystem 문서를 보강했습니다.
- Fortune 홈의 loading, loaded, failed 상태와 의미 기반 delegate action을 구현했습니다.
- 반응형 hero, 운세 카테고리, 사주 풀이, 행운 액션 화면을 DesignSystem으로 조립했습니다.
- Example fixture와 디버그 인스펙터 진입점, reducer delegate 테스트를 추가했습니다.
- TCA 화면 경계와 SwiftUI View 조립 원칙을 프로젝트 스킬로 문서화했습니다.
- DesignSystem 탐색, 반응형 레이아웃, 이미지 및 상호작용 기준을 정리했습니다.
- FeatureExample과 App host별 실제 렌더링 검증 절차를 추가했습니다.
- 원본 소수 점수로 Mood Level 구간을 판정하고 표시 점수는 반올림합니다.
- 네 단계 캐릭터 에셋과 Level 03 폴백을 추가합니다.
- 홈 갤럭시 배경과 흰 시트의 스크롤 바운스 렌더링을 보정합니다.
@seungwone seungwone self-assigned this Aug 11, 2026
@github-actions github-actions Bot added the enhancement 기능 개발, 리팩토링, 설정 변경 등 전반적인 작업 label Aug 11, 2026
@coderabbitai

coderabbitai Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 96833da9-738b-4ac0-a572-544f8888b582

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

- Mood Level 03과 중복된 기존 fortune_character 에셋을 제거합니다.\n- Fortune 에셋 번들 검증을 Swift Testing으로 통일합니다.
@seungwone
seungwone marked this pull request as ready for review August 11, 2026 15:14
@seungwone
seungwone requested a review from MoonGoon72 as a code owner August 11, 2026 15:14
@seungwone
seungwone merged commit 4d52403 into release Aug 11, 2026
3 checks passed
@seungwone
seungwone deleted the feature/65-fortune-home branch August 11, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement 기능 개발, 리팩토링, 설정 변경 등 전반적인 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant