feat : 기본 프로필 아바타 아이콘 추가 및 ProfileAvatar에 적용 - #143
Conversation
온보딩에서 프로필 미설정(건너뛰기) 시 마이페이지 기본 프로필 사진으로 표시되도록 AvatarIcon 컴포넌트 추가. ProfileAvatar의 중복 인라인 SVG를 새 컴포넌트로 교체.
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
Warning Review limit reached
Next review available in: 30 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✨ 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 |
개요
온보딩에서 프로필을 설정하지 않고 건너뛰기한 경우, 마이페이지에서 기본 프로필 사진(아바타 SVG)이 표시되도록 합니다. Figma에서 받은 Avatar SVG를 재사용 가능한 아이콘 컴포넌트로 만들고,
ProfileAvatar의 중복 인라인 SVG를 이 컴포넌트로 교체했습니다.변경 사항
components/icons/avatar-icon.tsx(신규) — Avatar SVG를 react-native-svg 컴포넌트로 추가size(기본 60),backgroundColor(#E5E7EB),color(#A4ABC0)features/mypage/components/profile-avatar.tsx— 기존에 중복으로 들어가 있던 인라인 SVG(거의 동일한 기본 아바타)를AvatarIcon으로 교체url이 http로 시작하면 이미지, 아니면(미설정·건너뛰기 등) 기본 아바타 렌더링동작
profileUrl빈 값 → 마이페이지에서 기본 아바타 표시ProfileAvatar를 함께 쓰는 프로필 편집 화면(app/mypage/info.tsx)의 기본 아바타도 동일하게 통일변경 파일
components/icons/avatar-icon.tsxfeatures/mypage/components/profile-avatar.tsx체크리스트