Conversation
브랜치 히스토리 동기화: main -> develop
fix: 내 피드인경우, 비밀글 보이게 수정
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. WalkthroughOtherFeed 컴포넌트가 정적 posts 렌더링에서 API 기반의 동적 피드 로딩으로 전환되었고, 로딩/에러 상태와 총 개수 상태가 추가되었습니다. isMyself 여부에 따라 내 피드+프로필 병렬 조회 또는 타인 피드 조회를 수행합니다. props에 showFollowButton(optional)이 추가되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant OtherFeed as OtherFeed Component
participant API as Feed API
participant Profile as Profile
participant UI as UI Elements
User->>OtherFeed: Mount/props change (userId, isMyself)
activate OtherFeed
OtherFeed->>UI: set loading=true
alt isMyself == true
par
OtherFeed->>API: getMyFeeds()
API-->>OtherFeed: myFeeds[]
and
OtherFeed->>API: getMyProfile()
API-->>OtherFeed: { totalFeedCount, ... }
end
OtherFeed->>OtherFeed: set feedPosts, totalFeedCount
else isMyself == false
OtherFeed->>API: getOtherFeed(userId)
API-->>OtherFeed: otherFeeds[]
OtherFeed->>OtherFeed: set feedPosts
end
OtherFeed->>UI: set loading=false
opt Render
alt loading
UI->>UI: LoadingSpinner
else feedPosts not empty
OtherFeed->>Profile: render (showFollowButton?)
OtherFeed->>UI: render posts + TotalBar(totalFeedCount)
else
UI->>UI: EmptyState
end
end
deactivate OtherFeed
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
✨ 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