fix: 친구 목록 모달의 딤 클릭·조회 실패 처리 - #507
Conversation
- MorePopover 의 stopPropagation 래퍼 안에 Dialog 가 있어 딤 클릭이 막혔다. Dialog 를 래퍼 밖으로 빼 카드 이동 차단은 유지하면서 모달은 정상적으로 닫히게 한다. - useGetGroupResult 의 isGroupResultError 를 쓰지 않아 조회 실패가 "참여한 친구가 없어요" 로 표시됐다. 실패 안내를 분리한다.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 44 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. 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: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
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 |
|
Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다. |
작업 요약
작업 세부 내용
1. 딤 클릭이 차단되던 문제
MorePopover의 루트div가 하위 클릭을 전부 막고 있었습니다. 카드 전체가<Link>라 더보기 조작이 페이지 이동으로 이어지지 않게 하려는 처리인데,Dialog도 이 안에 있어 딤 클릭 이벤트가 함께 죽었습니다.Dialog를 래퍼 밖으로 옮겼습니다. 카드 이동 차단은 Popover 영역에만 적용됩니다.TournamentDeleteDialog도 같은 문제였어서 함께 옮겼습니다.2. 조회 실패가 "친구 없음" 으로 표시되던 문제
useGetGroupResult가isGroupResultError를 반환하는데 모달이 구독하지 않았습니다. 에러 시groupResultData가undefined→ 빈 배열 → "참여한 친구가 없어요" 로 떨어졌습니다.실패 상태를 별도 문구로 분리했습니다.
문구는 의도적으로 일반적인 표현을 썼습니다. 실패 사유가 401·403·404·409·네트워크로 여러 갈래라 특정 사유로 단정할 수 없고, 특히 409 는 서버 응답과 실제 사유가 어긋나 있어(#504 참고) 그 위에 구체적 안내를 얹기 어렵습니다.
연관 이슈
closes #506