Conversation
- 투표하기 API 함수 구현 (postVote) - 투표 관련 타입 정의 추가 (VoteRequest, VoteData, VoteItemResult) - PollOption 타입에 voteItemId, isVoted 필드 추가 - PollRecord 컴포넌트에 투표 클릭 핸들러 구현 - 실시간 투표 결과 업데이트 및 상태 관리 - 에러 코드별 상세 메시지 처리 및 토스트 팝업 - 투표 진행 중 UI 비활성화 처리
브랜치 히스토리 동기화: main -> develop
feat: 투표하기 API 연동 및 실시간 투표 기능 구현
fix: 피드 게시글 수정 navigation 추가
feat: GroupSearch 로직 추가 적용, click 이벤트 적용
- 기록 핀하기 API 연동 함수 추가 (pinRecordToFeed.ts) - 기록 아이템에 핀 아이콘 버튼 추가 (내 기록일 때만 표시) - 핀하기 확인 팝업 구현 - 피드 작성 페이지 라우팅 추가 (/feed/write) - 핀 데이터로 피드 작성 페이지 초기화 - 책 선택, 글 내용 수정 불가 옵션 추가
feat: 기록을 피드에 핀하기 API 연동
feat: BookSearchBottomSheet 실제 검색 API 연동
feat: getFeedsByIsbn API, PasswordModal API 연동
…to chore/minor-updates
feat: 저장한 책 및 피드 조회 API 연동
- useReplyActions 대신 postReply API 직접 사용 - 상태 동기화 지연으로 인한 댓글 전송 버그 수정 - 댓글 작성 시 즉시 업로드되도록 개선 - BookSearchBottomSheet 패턴으로 Memory 페이지에서만 렌더링
Feat/comment hotfix
fix: 책 검색 모달 탭 유지 및 무한스크롤 기능 추가
fix: 책 검색 무한스크롤 로직 수정 및 최근검색어 API 수정
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. Walkthrough여러 API 모듈(저장 피드/도서, ISBN 연관 피드, 투표, 핀 고정)을 추가하고, 검색·저장·그룹/메모리·피드 관련 UI를 페이지네이션/무한 스크롤, 비밀번호 모달, 글로벌 댓글 바텀시트, 핀-투-피드 흐름 등으로 확장했습니다. 라우트 추가 및 다수 컴포넌트/스토어의 공개 인터페이스가 갱신되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
actor U as User
participant R as RecordItem
participant API as pinRecordToFeed
participant Nav as Router
U->>R: Pin 버튼 클릭
R->>U: 확인 다이얼로그
alt 확인
R->>API: GET /rooms/{roomId}/records/{recordId}/pin
API-->>R: { isSuccess, code, data }
alt isSuccess
R->>Nav: navigate('/feed/write', state: pinData)
else 실패
R->>U: 스낵바 에러 표시
end
else 취소
R-->>U: 중단
end
sequenceDiagram
actor U as User
participant S as useCommentBottomSheetStore
participant C as GlobalCommentBottomSheet
participant API as getComments/postReply
U->>S: openCommentBottomSheet(postId, postType)
S-->>C: isOpen=true, postId, postType
C->>API: getComments(postId, {postType, size})
API-->>C: { commentList }
U->>C: 입력 후 전송
C->>API: postReply(postId, payload)
API-->>C: { isSuccess }
C->>API: getComments(...) (리프레시)
sequenceDiagram
actor U
participant B as BookList
participant H as useBookSearch
participant API as getSearchBooks
U->>H: setSearchQuery(q)
H->>API: GET /books/search?page=1
API-->>H: { items, last, total }
H-->>B: books, hasNextPage
B->>B: last item intersect
B->>H: loadMoreSearchResults()
H->>API: GET /books/search?page=next
API-->>H: { items, last }
H-->>B: append, update hasNextPage
sequenceDiagram
actor U
participant GD as GroupDetail
participant PM as PasswordModal
participant API as postJoinRoom
U->>GD: 비공개 방 참여 클릭
GD->>PM: open(showPasswordModal)
U->>PM: 비밀번호 입력 완료
PM->>API: POST /rooms/{id}/join (password)
API-->>PM: { isSuccess }
alt 성공
PM->>GD: onJoined(roomId)
PM->>GD: onClose()
GD->>GD: 상태 업데이트(isJoining=true)
else 실패
PM->>U: 스낵바 에러
end
sequenceDiagram
actor U
participant SB as SearchBook
participant API as getFeedsByIsbn
participant V as View
U->>SB: 필터 선택/스크롤
SB->>API: GET /feeds/related-books/{isbn}?sort=...&cursor=...
API-->>SB: { feeds, nextCursor, isLast }
SB->>V: 렌더/추가, 옵저버로 무한 스크롤
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 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 (2)
📒 Files selected for processing (42)
✨ Finishing Touches
🧪 Generate unit tests
🪧 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 (
|
이하동일
Summary by CodeRabbit
신기능
개선