feat: getFeedsByIsbn API, PasswordModal API 연동#162
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughISBN 기반 피드 조회 API 클라이언트를 신설하고, 검색 도서 페이지에 실제 피드 연동(페이지네이션·무한스크롤)을 도입했다. 비공개 그룹 참여 흐름에 비밀번호 모달을 통합하고, 그룹 상세/검색/카드 컴포넌트의 표시 텍스트·이미지·정렬·레이아웃 스타일을 일부 조정했다. Changes
Sequence Diagram(s)sequenceDiagram
participant UI as SearchBook Page
participant API as getFeedsByIsbn
participant Server as Backend
UI->>API: loadFirstFeeds(isbn, sort='like', cursor=null)
API->>Server: GET /feeds/related-books/{isbn}?sort=like
Server-->>API: {feeds, nextCursor, isLast}
API-->>UI: data
UI->>UI: 렌더 feeds, last item에 observer 등록
UI->>UI: last item viewport 진입
UI->>API: loadMore(isbn, sort, nextCursor)
API->>Server: GET ...?cursor=nextCursor
Server-->>API: 다음 페이지
API-->>UI: data
UI->>UI: append feeds, 갱신된 observer 설정
sequenceDiagram
participant User as 사용자
participant GD as GroupDetail
participant PM as PasswordModal
participant BE as Backend
User->>GD: 비공개 그룹 참여 클릭
GD->>PM: 모달 열기
User->>PM: 비밀번호 입력 완료
PM->>BE: POST /join (roomId, password)
BE-->>PM: 성공(룸 참여)
PM->>GD: onJoined(roomId), onClose()
GD->>GD: isJoining=true, memberCount 업데이트
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 ignored due to path filters (1)
📒 Files selected for processing (9)
✨ 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 (
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝작업 내용
Summary by CodeRabbit
신기능
리팩터
스타일