feat: 토너먼트 친구 아바타 뱃지 및 참여자 상품 개수 연동 - #232
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No description provided. |
|
@coderabbitai review |
|
Warning Review limit reached
More reviews will be available in 50 minutes and 9 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?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 credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. 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, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
Walkthrough토너먼트 응답 타입에 Changes참가자 아바타 오버레이 기능 추가
Sequence DiagramsequenceDiagram
participant CreateClient as TournamentCreateClient
participant Carousel as TournamentItemBasketCarousel
participant Basket as TournamentItemBasket
participant BasketItem as TournamentBasketItem
CreateClient->>Carousel: participantImageMap 전달
Carousel->>Basket: participantImageMap 전달
Basket->>BasketItem: participantImageMap 전달
BasketItem->>BasketItem: useGetMe로 현재 userId 확인
BasketItem->>BasketItem: Map에서 친구 profileImage 조회
BasketItem->>BasketItem: 원형 배지 오버레이 렌더링
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 |
c1595c9 to
bebef34
Compare
bebef34 to
54a3667
Compare
작업 요약
작업 세부 내용
참여자 상품 개수 API 연동
TournamentParticipantT에itemCount필드 추가 (API 응답 반영)TournamentCreateClient에서participants맵핑 시itemCount: 0하드코딩 →p.itemCount로 수정ParticipantPanel/ParticipantChip에 실제 담은 상품 수 표시친구 아바타 뱃지 표시
TournamentPendingItemT에userId?: string추가%단위)버그 수정
TournamentBasketItem의cursor-pointer조건 오류 수정 (||연산자 우선순위 버그)overflow-hidden을 이미지 inner div로 분리하여 뱃지가 카드 경계 밖으로 걸쳐 보이도록 구조 개선스크린샷
연관 이슈
closes #204
Summary by CodeRabbit
릴리스 노트
새로운 기능
개선 사항
itemCount)가 포함되도록 업데이트되었습니다.userId)가 누락될 수 있는 경우를 타입 수준에서 반영해 처리 안정성이 향상되었습니다.