feat: 회원 프로필 페이지 아바타 이미지 표시#385
Merged
Merged
Conversation
- getAvatarUrl → getMemberIconUrl → User 아이콘 폴백 체인 적용 - PR #277(마이페이지·댓글폼)과 동일한 패턴 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
|
sdk-kr
approved these changes
Mar 8, 2026
Contributor
sdk-kr
left a comment
There was a problem hiding this comment.
LGTM! 👍
기존 mb_image 직접 사용에서 getAvatarUrl/getMemberIconUrl 유틸리티를 활용하도록 개선한 점이 좋습니다. 이미지 로드 실패 시 fallback으로 User 아이콘을 보여주는 처리도 잘 되어 있고, $effect로 프로필 변경 시 실패 상태를 초기화하는 것도 꼼꼼하네요. 좋은 기여 감사합니다!
3 tasks
sdk-kr
pushed a commit
that referenced
this pull request
Mar 8, 2026
## Summary
- API에서 `mb_image_url`을 `/data/member/${id}.gif`로 잘못 변환하던 로직 제거 → 원본 값
그대로 전달하여 프론트의 `getAvatarUrl`이 CDN URL로 정상 변환
- 프론트 아바타 폴백을 댓글과 동일한 패턴으로 통일: `handleIconError` + 닉네임 첫 글자 폴백
- PR #385 머지 후 프로덕션에서 아바타가 더미 아이콘으로 표시되는 문제 수정
## Test plan
- [ ] 스테이징에서 프로필 이미지가 있는 회원 → 아바타 정상 표시
- [ ] 프로필 이미지가 없는 회원 → 닉네임 첫 글자 폴백
- [ ] CDN 이미지 로드 실패 시 → 닉네임 첫 글자 폴백
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/member/[id])에 아바타 이미지 표시 추가getAvatarUrl→getMemberIconUrl→ User 아이콘 폴백 체인 적용Test plan
🤖 Generated with Claude Code