Skip to content

feat : 기본 프로필 아바타 아이콘 추가 및 ProfileAvatar에 적용 - #143

Merged
JioCoder merged 1 commit into
mainfrom
feat/avatar-icon
Jul 27, 2026
Merged

feat : 기본 프로필 아바타 아이콘 추가 및 ProfileAvatar에 적용#143
JioCoder merged 1 commit into
mainfrom
feat/avatar-icon

Conversation

@JioCoder

Copy link
Copy Markdown
Contributor

개요

온보딩에서 프로필을 설정하지 않고 건너뛰기한 경우, 마이페이지에서 기본 프로필 사진(아바타 SVG)이 표시되도록 합니다. Figma에서 받은 Avatar SVG를 재사용 가능한 아이콘 컴포넌트로 만들고, ProfileAvatar의 중복 인라인 SVG를 이 컴포넌트로 교체했습니다.

변경 사항

  • components/icons/avatar-icon.tsx (신규) — Avatar SVG를 react-native-svg 컴포넌트로 추가
    • props: 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.tsx
  • features/mypage/components/profile-avatar.tsx

체크리스트

  • TypeScript 타입체크 통과
  • Prettier 포맷 통과

온보딩에서 프로필 미설정(건너뛰기) 시 마이페이지 기본 프로필 사진으로
표시되도록 AvatarIcon 컴포넌트 추가. ProfileAvatar의 중복 인라인 SVG를
새 컴포넌트로 교체.
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@JioCoder, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 30 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 435f97e2-8975-475f-ac3a-a420447aa153

📥 Commits

Reviewing files that changed from the base of the PR and between 1e8ff06 and ae4a84b.

📒 Files selected for processing (2)
  • components/icons/avatar-icon.tsx
  • features/mypage/components/profile-avatar.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/avatar-icon

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.

@JioCoder
JioCoder merged commit 1861ef3 into main Jul 27, 2026
3 checks passed
@JioCoder
JioCoder deleted the feat/avatar-icon branch July 27, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant