feat : 내가 작성한 PIN 목록 조회 API 연동 - #159
Merged
Merged
Conversation
📝 WalkthroughWalkthrough
Changes내 PIN 목록 조회
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant MyPlimapPage
participant useInfiniteMyPins
participant getMyPins
participant PinsAPI
MyPlimapPage->>useInfiniteMyPins: 내 PIN 목록 요청
useInfiniteMyPins->>getMyPins: pageSize와 cursor 전달
getMyPins->>PinsAPI: GET /api/v1/pins/members/me
PinsAPI-->>getMyPins: PIN 목록과 페이지네이션 정보 반환
getMyPins-->>useInfiniteMyPins: GetMyPinsResponse 반환
useInfiniteMyPins-->>MyPlimapPage: 페이지 데이터 반환
MyPlimapPage->>MyPlimapPage: PIN 데이터를 카드 형식으로 변환해 렌더링
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/pages/MyPlimapPage.tsx`:
- Around line 13-16: Update MyPlimapPage and the all-pins query flow to consume
fetchNextPage, hasNextPage, isFetchingNextPage, and error state from
useInfiniteMyPins. When tab === 'all', connect useInfiniteScroll to a dedicated
sentinel and render the corresponding retry, loading, and empty-list states
instead of allowing pins.map() to produce an empty area; preserve the existing
liked-tab behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: f06adf7c-dbcc-4fde-900a-1c4b3b06de20
📒 Files selected for processing (4)
src/api/pin.tssrc/features/pin/queries/useMyPins.tssrc/features/pin/types.tssrc/pages/MyPlimapPage.tsx
kim3360
temporarily deployed
to
preview-maintenance
August 2, 2026 16:31 — with
GitHub Actions
Inactive
12 tasks
This branch was successfully deployed
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.
변경 내용
GET /api/v1/pins/members/meAPI 연동useInfiniteMyPins무한스크롤 훅 추가MyAllPinsCard매핑)관련 이슈
Closes #156
변경 사항
테스트
스크린샷 (UI 변경시)
2026-08-01.6.23.41.mov
체크리스트
pnpm format)pnpm lint:fix)코드 품질 확인
PR 제출 전에 다음 명령어를 실행하여 코드 품질을 확인해주세요:
Summary by CodeRabbit