[Feature/#404] 플랫폼 연동 직후 초기 동기화 - #408
Conversation
|
Warning Review limit reached
Next review available in: 54 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughGoogle 및 Naver 연동 성공 콜백을 추가했습니다. 플랫폼별 동기화 mutation을 Changes플랫폼 연동 후 동기화
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related issues
Possibly related PRs
Suggested reviewers: Sequence Diagram(s)sequenceDiagram
participant GoogleOAuth
participant NaverConnectModal
participant PlatformIntegrationsPage
participant usePlatformSyncMutations
GoogleOAuth->>PlatformIntegrationsPage: OAuth 성공 콜백
PlatformIntegrationsPage->>usePlatformSyncMutations: syncGoogle(orgId)
NaverConnectModal->>PlatformIntegrationsPage: 최초 connect 성공 콜백
PlatformIntegrationsPage->>usePlatformSyncMutations: syncNaver(orgId, values)
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
📚 Storybook 배포 완료
|
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/integration/PlatformIntegrationsPage.tsx`:
- Around line 112-114: Update the onGoogleConnectSuccess callback passed to
useIntegrationOAuthReturn so it sets the syncing provider to Google before
invoking syncGoogle(requestOrgId), ensuring PlatformIntegrationCard displays the
loading state during automatic synchronization. Clear the syncing state through
the existing sync completion/error flow and preserve the current OAuth success
behavior.
🪄 Autofix
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: f524ece8-d81f-4152-af08-c90bc59a90d2
📒 Files selected for processing (4)
src/components/integration/NaverConnectModal.tsxsrc/hooks/integration/useIntegrationOAuthReturn.tssrc/hooks/integration/usePlatformSyncMutations.tssrc/pages/integration/PlatformIntegrationsPage.tsx
🚨 관련 이슈
close #404
✨ 변경사항
✏️ 작업 내용
usePlatformSyncMutations훅 추가 — Meta/Google/Naver sync mutation·toast·connections invalidate 공통화syncGoogle자동 호출 (useIntegrationOAuthReturncallback)플랫폼별 연동 직후 동작
syncGoogle자동 호출 → sync toast😅 미완성 작업
N/A
📢 논의 사항 및 참고 사항
Summary by CodeRabbit
새로운 기능
개선 사항