Skip to content

Conversation

@soseoyo12
Copy link
Contributor

🔗 연결된 이슈

@soseoyo12 soseoyo12 requested a review from a team January 22, 2026 15:46
@soseoyo12 soseoyo12 self-assigned this Jan 22, 2026
@soseoyo12 soseoyo12 requested review from sum130, wotjs020708 and y-eonee and removed request for a team January 22, 2026 15:46
@soseoyo12 soseoyo12 added 성용👶 Fix 버그 수정 labels Jan 22, 2026
@soseoyo12 soseoyo12 linked an issue Jan 22, 2026 that may be closed by this pull request
@coderabbitai
Copy link

coderabbitai bot commented Jan 22, 2026

📝 Walkthrough

내용 요약

2차 QA 수정을 위해 온보딩 화면 레이아웃 및 스타일을 조정하고, 홈 화면 이미지 위치를 재배치하며, 색상 자산을 업데이트하고, SVG 이미지 자산을 PNG 해상도 변수로 교체했습니다.

변경 사항

코호트 / 파일 변경 요약
온보딩 화면 레이아웃
OnboardingContainerView.swift, OnboardingPage1.swift, OnboardingPage2.swift
온보딩 페이지의 수직/수평 패딩 및 Spacer 재구성; 배경 그래디언트 색상을 homeGradient1에서 homeGradient1Onboarding으로 변경; CherrishButton API 호출 파라미터 업데이트 (type, state binding, 아이콘 추가)
홈 화면 이미지 위치
HomeView.swift
cherry level 이미지의 offset을 (-10.adjustedW, -67.adjustedH)에서 (-20.adjustedW, -57.adjustedH)로 조정
다운타임 선택기
DowntimeBottomSheetView.swift
CherrishPicker 범위를 1...30에서 0...30으로 확장하여 0값을 유효한 선택지로 허용
색상 자산
home_gradient1.colorset/Contents.json, home_gradient1_onboarding.colorset/Contents.json
기존 gradient1의 파란색/녹색 채널값 조정 (0xF7 → 0xEB); 새로운 온보딩 전용 gradient1 색상 자산 추가
챌린지 게이지 이미지
home_chellenge_bar{0,1,2,3,4}.imageset/Contents.json
SVG 파일 참조를 PNG로 변경하고 2x/3x 해상도 변수 추가 (challenge_gaugebar_{n}@2x.png, @3x.png)
Swift Package 의존성
Package.resolved
lottie-ios 의존성 항목 제거 및 originHash 업데이트

예상 코드 리뷰 난이도

🎯 3 (Moderate) | ⏱️ ~25 분

관련 가능성 있는 PR

제안 검토자

  • wotjs020708
  • sum130
  • y-eonee
🚥 Pre-merge checks | ✅ 3 | ❌ 2
❌ Failed checks (2 inconclusive)
Check name Status Explanation Resolution
Linked Issues check ❓ Inconclusive 연결된 이슈 #168의 구체적인 요구사항이 제공되지 않아 코딩 요구사항 검증을 수행할 수 없습니다. 이슈 #168의 상세한 요구사항과 검증 기준을 확인하여 변경사항이 모든 요구사항을 충족하는지 검증해주시기 바랍니다.
Out of Scope Changes check ❓ Inconclusive UI/UX 레이아웃 조정, 이미지 자산 교체, 색상 변경 등이 QA 피드백 수정으로 보이나 연결된 이슈의 구체적 범위가 명확하지 않아 판단이 어렵습니다. 이슈 #168에서 요청한 수정 범위와 비교하여 모든 변경사항이 범위 내에 있는지 확인해주시기 바랍니다.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed 제목 '2차 QA 수정'은 PR의 주요 변경사항을 잘 설명하고 있으며, QA 피드백에 따른 수정이라는 명확한 의도를 전달합니다.
Description check ✅ Passed 설명이 연결된 이슈 #168을 명시하고 있어 변경사항과 관련성이 있습니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/#168-2-QA

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 and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
Cherrish-iOS/Cherrish-iOS.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved (1)

1-15: lottie-ios 의존성 제거가 불완전함 - 빌드 실패 예상

Package.resolved에서 lottie-ios가 제거되었지만, 코드베이스는 여전히 Lottie를 적극적으로 사용 중입니다:

  • SplashView.swiftChallengeLoadingView.swift에서 LottieView 컴포넌트 사용
  • Lottie+.swiftLottieView 구현 (UIViewRepresentable)
  • project.pbxproj에 Lottie 프레임워크 참조 여전히 존재
  • Resources/Lottie/splash.json 애니메이션 파일 존재

이 상태로는 import Lottie 때문에 빌드가 실패합니다. Lottie 의존성을 Package.resolved에 복구하거나, 모든 Lottie 관련 코드를 제거해야 합니다.

Cherrish-iOS/Cherrish-iOS/Resources/Assets.xcassets/home_icon/home_chellenge_bar0.imageset/Contents.json (1)

4-14: 1x/2x/3x 리소스 파일명이 불일치합니다.
1x는 home_chellenge_bar0.svg인데 2x/3x는 challenge_gaugebar_1@2x/@3x로 서로 다른 아트워크가 매핑됩니다. 1x 디바이스에서 다른 이미지가 노출될 수 있으니, 의도된 게 아니라면 동일한 파일명으로 통일해 주세요.

🔧 예시 수정안 (1x도 동일한 PNG로 정렬)
-      "filename" : "home_chellenge_bar0.svg",
+      "filename" : "challenge_gaugebar_1.png",
🤖 Fix all issues with AI agents
In
`@Cherrish-iOS/Cherrish-iOS/Presentation/Feature/Onboarding/OnboardingContainerView.swift`:
- Around line 45-50: The button-containing view that currently uses
.opacity(currentPage == 1 ? 1 : 0) can still receive taps when transparent;
update that view (the view with the .opacity and .animation modifiers in
OnboardingContainerView) to block hit testing when not visible by adding
.allowsHitTesting(currentPage == 1) (or .disabled(currentPage != 1)) alongside
the existing modifiers so taps are only accepted on the active page.

Comment on lines +45 to +50
.padding(.top, 21.adjustedH)
.padding(.horizontal, 25.adjustedW)
.padding(.bottom, 57.adjustedH)
.opacity(currentPage == 1 ? 1 : 0)
.animation(.easeInOut(duration: 0.3), value: currentPage)

Spacer()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

투명 상태에서도 버튼이 탭 가능할 수 있습니다.
opacity만 적용하면 page 0에서도 탭 이벤트가 발생할 수 있어 의도치 않은 이동이 가능합니다. 페이지에 따라 히트테스트를 막아주세요.

✅ 권장 수정
                 .opacity(currentPage == 1 ? 1 : 0)
+                .allowsHitTesting(currentPage == 1)
🤖 Prompt for AI Agents
In
`@Cherrish-iOS/Cherrish-iOS/Presentation/Feature/Onboarding/OnboardingContainerView.swift`
around lines 45 - 50, The button-containing view that currently uses
.opacity(currentPage == 1 ? 1 : 0) can still receive taps when transparent;
update that view (the view with the .opacity and .animation modifiers in
OnboardingContainerView) to block hit testing when not visible by adding
.allowsHitTesting(currentPage == 1) (or .disabled(currentPage != 1)) alongside
the existing modifiers so taps are only accepted on the active page.

Copy link
Contributor

@y-eonee y-eonee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

어프르브

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix 버그 수정 성용👶

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fix] 2차 QA 수정

3 participants