Repository navigation
[Feat] 홈 티칭맵 출처 extraCount 추가 - #139
Merged
Merged
Conversation
📝 WalkthroughWalkthroughTeaching map 응답에 ChangesTeaching map 플랫폼 초과 개수
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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 |
EH-OI
approved these changes
Aug 11, 2026
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.
✨ 어떤 이유로 PR를 하셨나요?
📋 세부 내용 - 왜 해당 PR이 필요한지 작업 내용을 자세하게 설명해주세요
작업 내용
홈 대시보드 조회 API(
/api/v1/home)의activeTeachingMaps응답에extraCount필드를 추가했습니다.기존 티칭맵 목록 API와 동일하게 플랫폼 타입 기준으로 출처 정보를 계산합니다.
sourcePlatforms: 중복 제거된 플랫폼 타입 중 최대 3개extraCount:max(0, distinct 플랫폼 타입 개수 - 3)변경 파일
HomeTeachingMapResponse.javaHomeService.javaHomeServiceTest.java테스트
( 동작 테스트 case)
VELOG
VELOG, VELOG, VELOG, VELOG
VELOG, NOTION, TISTORY
VELOG, NOTION, TISTORY, YOUTUBE
VELOG, NOTION, TISTORY, YOUTUBE, BLOG
./gradlew.bat test --tests "*Home*"성공./gradlew.bat test --tests "*TeachingMap*"성공git diff --check통과기타
sourcePlatforms / extraCount계약과 동일하게 동작하도록 반영했습니다.📸 작업 화면 스크린샷
🚨 관련 이슈 번호 [ ]
Summary by CodeRabbit
새로운 기능
버그 수정