feat: GroupSearch 로직 추가 적용, click 이벤트 적용#159
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. Walkthrough그룹 카드 스타일(크기) 조정, 내 그룹 모달에 카드 클릭 시 라우팅/에러·로딩 상태 및 데이터 변환 추가, 검색 결과 컴포넌트에 탭 표시/아이템 클릭 콜백 도입과 UI 조건부 렌더링 변경, 그룹 상세 하단 버튼에 isSubmitting 적용 및 조인/마감 흐름 정비, 그룹 검색의 상태 머신·디바운스·자동 검색/네비게이션 추가. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant M as MyGroupModal
participant R as Router
U->>M: GroupCard 클릭
M->>M: 탭/그룹상태 확인
alt 모집중
M->>R: navigate(/group/detail/:id)
else 진행중 or isOnGoing
M->>R: navigate(/group/detail/joined/:id)
end
sequenceDiagram
participant U as User
participant S as GroupSearch
participant API as getSearchRooms
participant R as Router
U->>S: 검색어 입력
S->>S: status=searching (디바운스)
S->>API: 1페이지 검색(isFinalized by status)
API-->>S: 결과/nextCursor
S->>S: status=searched, rooms 갱신
U->>S: 결과 아이템 클릭
S->>R: navigate(/group/detail/:id)
sequenceDiagram
participant U as User
participant D as GroupDetail
participant API as postJoinRoom/postCloseRoom
U->>D: 하단 버튼 클릭
D->>D: isSubmitting=true
alt Host(마감)
D->>API: postCloseRoom(roomId)
API-->>D: OK/에러
D->>D: roomData 갱신 후 isSubmitting=false
else 참여/취소
D->>API: postJoinRoom(join|cancel)
API-->>D: OK/에러
D->>D: isJoining/인원수 갱신 후 isSubmitting=false
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (5)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
#️⃣연관된 이슈
[API] Rooms API 연동 #106
📝작업 내용
Summary by CodeRabbit