-
Notifications
You must be signed in to change notification settings - Fork 0
fix: #163 2차QA 반영 #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
fix: #163 2차QA 반영 #166
Conversation
📝 WalkthroughWalkthroughChallengeView 관련 UI 컴포넌트들에 레이아웃 조정을 적용하고, 챌린지 시작 일러스트 이미지를 SVG에서 PNG 형식(1x, 2x, 3x 스케일)으로 변경했습니다. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 분 Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this 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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고정 높이로 인한 텍스트/이미지 클리핑 가능성
다이나믹 타입 확대나 문구 길이 변화 시 내부 콘텐츠가 잘릴 수 있어요. 최소 높이로 두고 확장되도록 여지를 두는 편이 안전합니다.
🛠️ 제안 수정안
- .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.
| .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.
y-eonee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

🔗 연결된 이슈
📄 작업 내용
👀 기타 더 이야기해볼 점
패딩 조정 지옥에 빠져...