feat(blog): 최신글 통합 피드에서 특정 시리즈 제외 설정 메커니즘 (#25)#125
Merged
Conversation
- Constants.series.excludedFromLatestIds(빈 배열)를 find-posts가 존중하도록 구현 - 적용 범위: /posts/latest(seriesId='latest') + 랜딩 페이지 시리즈 루프만. 개별 시리즈 페이지·태그·사이트맵·전체 글 목록(prev/next 계산 포함)은 영향받지 않음 - 지금은 빈 배열이라 동작 변화 없음. 제외하고 싶은 시리즈가 생기면 ID만 추가하면 즉시 동작 - find-posts.test: 최신글 제외/개별 시리즈 미영향/전체 목록 미영향 3케이스 추가 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Owner
Author
🔍 코드 리뷰 (self-review)범위가 명확한 설정 메커니즘이라 발견한 미흡점은 크지 않습니다. 검토한 것
수정할 미흡사항은 없습니다. |
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.
#25 검토 결과 "제외할 시리즈"가 구체적으로 정해지지 않아, 설정 메커니즘만 구현합니다(사용자 확인 완료). 지금은 빈 배열이라 동작 변화 없음 — 나중에 시리즈 ID만 추가하면 바로 동작합니다.
구현
Constants.series.excludedFromLatestIds: string[](빈 배열) 추가findPosts가seriesId === 'latest'(즉/posts/latest페이지)일 때만 제외 목록을 존중범위 밖(의도적으로 미적용)
/posts/{id}): 제외 목록에 있어도 그 시리즈 자체 페이지는 그대로 보임seriesId없는 전체 글 목록(레이아웃의 prev/next 계산 포함): 영향 없음seriesId가 없는 호출까지 필터링하면 사이트맵 누락·prev/next 네비게이션 깨짐 등 부작용이 생기므로, "최신글 통합 피드"에만 범위를 좁혔습니다.검증
find-posts.test: 최신글 제외 / 개별 시리즈 미영향 / 전체 목록 미영향 3케이스 추가🤖 Generated with Claude Code