Skip to content

Conversation

@sum130
Copy link
Contributor

@sum130 sum130 commented Jan 22, 2026

🔗 연결된 이슈

📄 작업 내용

  • 이미지 및 텍스트 프레임, 패딩 수정

👀 기타 더 이야기해볼 점

image

패딩 조정 지옥에 빠져...

@sum130 sum130 requested a review from a team January 22, 2026 13:49
@sum130 sum130 self-assigned this Jan 22, 2026
@sum130 sum130 requested review from wotjs020708 and y-eonee and removed request for a team January 22, 2026 13:49
@sum130 sum130 requested a review from soseoyo12 January 22, 2026 13:49
@sum130 sum130 added the Fix 버그 수정 label Jan 22, 2026
@sum130 sum130 linked an issue Jan 22, 2026 that may be closed by this pull request
1 task
@coderabbitai
Copy link

coderabbitai bot commented Jan 22, 2026

📝 Walkthrough

Walkthrough

ChallengeView 관련 UI 컴포넌트들에 레이아웃 조정을 적용하고, 챌린지 시작 일러스트 이미지를 SVG에서 PNG 형식(1x, 2x, 3x 스케일)으로 변경했습니다.

Changes

Cohort / File(s) 변경 요약
UI 레이아웃 수정
ChallengeProgressView.swift, ChallengeSelectMissionView.swift
CherryGrowthView에 프레임 제약(326.adjustedW × 320.adjustedH) 추가 및 ChallengeSelectMissionView의 VStack 정렬 방식 변경과 "복수 선택이 가능해요." 텍스트에 4.adjustedH 상단 패딩 적용
이미지 자산 형식 변경
Resources/Assets.xcassets/ChallengeImage/illustration_challenge_start.imageset/Contents.json
기존 SVG(illustration_challenge_start-1.svg) 단일 항목을 PNG 3가지 스케일 변형(1x, 2x, 3x)으로 교체

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 분

Possibly related PRs

  • Style/#61 챌린지 플로우 뷰 구현 #67: 동일한 ChallengeProgressView.swift 및 illustration_challenge_start.imageset/Contents.json 파일을 수정하는 직접적인 관련 PR
  • Fix/#149 1차 QA #154: ChallengeProgressView.swift와 ChallengeSelectMissionView.swift의 레이아웃/프레임/패딩 조정, SVG를 PNG로 변경하는 자산 업데이트가 동일하게 적용되는 PR
  • Feat/#52 기기대응 익스텐션 #53: 현재 PR의 adjustedW/adjustedH 확장 기능이 해당 PR에서 도입된 코드에 의존하는 관련 PR

Suggested reviewers

  • wotjs020708
  • y-eonee
  • soseoyo12
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed 풀 리퀘스트 제목은 '2차QA 반영'으로 연결된 이슈 #163과 명확히 관련되어 있으며, 변경사항의 주요 목적을 요약하고 있습니다.
Description check ✅ Passed 풀 리퀘스트 설명은 이미지 및 텍스트 프레임, 패딩 수정이라는 변경사항과 관련되어 있으며, 연결된 이슈 #163을 명확히 명시하고 있습니다.
Linked Issues check ✅ Passed 풀 리퀘스트는 2차 QA 반영으로 이미지 프레임, 텍스트 패딩, 간격 조정 등 UI 레이아웃 개선사항을 구현했으며, 이는 이슈 #163의 목표와 일치합니다.
Out of Scope Changes check ✅ Passed 모든 변경사항(CherryGrowthView 프레임 조정, VStack 패딩 변경, 이미지 에셋 형식 변경)은 이슈 #163의 UI 레이아웃 및 간격 조정 범위 내에 있습니다.
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/#163-qa2

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

🤖 Fix all issues with AI agents
In
`@Cherrish-iOS/Cherrish-iOS/Presentation/Feature/ChallengeView/View/ChallengeProgressView.swift`:
- Line 128: The view uses a fixed height via the .frame(width: 326.adjustedW,
height: 320.adjustedH) modifier in ChallengeProgressView which can cause
text/image clipping with Dynamic Type or variable content; remove the hard-coded
height and make the layout flexible by replacing the fixed height with a minimum
height or flexible constraints (e.g., use .frame(width: 326.adjustedW,
minHeight: 320.adjustedH) or .frame(maxHeight: .infinity) and/or add
.fixedSize(horizontal: false, vertical: true) so the content can expand; update
the modifier applied to the view in ChallengeProgressView to use
minHeight/maxHeight or flexible sizing instead of the hard-coded height.

}
.padding(.horizontal, 25.adjustedW)
}
.frame(width: 326.adjustedW, height: 320.adjustedH)
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

고정 높이로 인한 텍스트/이미지 클리핑 가능성
다이나믹 타입 확대나 문구 길이 변화 시 내부 콘텐츠가 잘릴 수 있어요. 최소 높이로 두고 확장되도록 여지를 두는 편이 안전합니다.

🛠️ 제안 수정안
-        .frame(width: 326.adjustedW, height: 320.adjustedH)
+        .frame(width: 326.adjustedW, minHeight: 320.adjustedH, alignment: .top)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
.frame(width: 326.adjustedW, height: 320.adjustedH)
.frame(width: 326.adjustedW, minHeight: 320.adjustedH, alignment: .top)
🤖 Prompt for AI Agents
In
`@Cherrish-iOS/Cherrish-iOS/Presentation/Feature/ChallengeView/View/ChallengeProgressView.swift`
at line 128, The view uses a fixed height via the .frame(width: 326.adjustedW,
height: 320.adjustedH) modifier in ChallengeProgressView which can cause
text/image clipping with Dynamic Type or variable content; remove the hard-coded
height and make the layout flexible by replacing the fixed height with a minimum
height or flexible constraints (e.g., use .frame(width: 326.adjustedW,
minHeight: 320.adjustedH) or .frame(maxHeight: .infinity) and/or add
.fixedSize(horizontal: false, vertical: true) so the content can expand; update
the modifier applied to the view in ChallengeProgressView to use
minHeight/maxHeight or flexible sizing instead of the hard-coded height.

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.

IMG_2352
큐에이는끝나지않아..

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