Merged
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough피드 DTO(상세·개요)에 repostCount 필드가 추가되었고, 상세 DTO의 from(...) 시그니처가 변경되었습니다. FeedRepository에 리포스트 집계용 메서드와 프로젝션이 추가되었습니다. FeedMainService에 공통 조회/인기 피드 흐름이 도입되고, 리포스트 카운트 집계·전파 로직과 대량 선조회가 추가되었습니다. FeedService는 상세 조회 시 리포스트 수를 조회해 DTO로 전달합니다. Changes
Sequence Diagram(s)sequenceDiagram
actor Client
participant FeedMainService
participant FeedRepository as Repo
Client->>FeedMainService: getPersonalFeed(pageable) / getPopularFeed(pageable)
FeedMainService->>FeedMainService: resolveAccessibleClubIds(userId)
alt popular == true
FeedMainService->>Repo: findPopularByClubIds(clubIds, pageable)
else
FeedMainService->>Repo: findByClubIds(clubIds, pageable)
end
FeedMainService->>Repo: countDirectRepostsIn(feedIds)
FeedMainService->>Repo: bulk load parents/roots (batched lookups)
FeedMainService->>FeedMainService: map to DTOs with repostCount
FeedMainService-->>Client: List<FeedOverviewDto>
sequenceDiagram
actor Client
participant FeedService
participant FeedRepository as Repo
Client->>FeedService: getFeedDetail(feedId)
FeedService->>Repo: findById(feedId), load images/comments/likes
FeedService->>Repo: countByParent_FeedId(feedId)
FeedService->>FeedService: FeedDetailResponseDto.from(..., repostCount)
FeedService-->>Client: FeedDetailResponseDto
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
✨ 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 (
|
gkdudans
approved these changes
Aug 12, 2025
Merged
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#️⃣ Issue Number
📝 요약(Summary)
리피드 카운트 명시
🛠️ PR 유형
어떤 변경 사항이 있나요?
📸스크린샷 (선택)
💬 공유사항 to 리뷰어
✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.
Summary by CodeRabbit