Skip to content

refactor: API 응답에 대한 mock 폴백(?? mock) 제거#160

Merged
shunn2 merged 1 commit into
developfrom
refactor/remove-mock-fallback
Jul 1, 2026
Merged

refactor: API 응답에 대한 mock 폴백(?? mock) 제거#160
shunn2 merged 1 commit into
developfrom
refactor/remove-mock-fallback

Conversation

@shunn2

@shunn2 shunn2 commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

컴포넌트에서 apiData ?? mockXxx 폴백 패턴을 모두 제거하고,
로딩/에러/빈 데이터 가드로 대체. mock 데이터가 실제 화면에 노출되지 않도록 함.

대상: KpiSection, ChannelProfileSection, ChannelSummarySection, VideoDetailPage, VideoStatsSection, InfluencerBaseInfo, ImpactMetricsSection, EngagementAnalyticsSection, RetentionSection

📌 작업 개요

Button 컴포넌트 개발

🗂 작업 유형

해당하는 항목에 x를 채워 주세요.

  • 기능 추가 (feat)
  • 버그 수정 (fix)
  • 리팩토링 (refactor)
  • 스타일 / UI 수정 (style)
  • 성능 개선 (perf)
  • 테스트 (test)
  • 기타 (chore, docs 등)

✏️ 작업 내용

✅ 셀프 체크리스트

머지 전 직접 확인해 주세요.

  • 로컬에서 정상 동작 확인
  • 불필요한 콘솔 로그, 주석, 디버그 코드 제거
  • 타입 에러 없음

💬 리뷰어에게

컴포넌트에서 `apiData ?? mockXxx` 폴백 패턴을 모두 제거하고,
로딩/에러/빈 데이터 가드로 대체. mock 데이터가 실제 화면에 노출되지 않도록 함.

대상: KpiSection, ChannelProfileSection, ChannelSummarySection, VideoDetailPage,
VideoStatsSection, InfluencerBaseInfo, ImpactMetricsSection,
EngagementAnalyticsSection, RetentionSection

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
inflace Ready Ready Preview, Comment Jun 13, 2026 6:32am

@coderabbitai

coderabbitai Bot commented Jun 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@shunn2, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 42 minutes and 1 second. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 683cf323-c855-4743-8c8b-6c558d023a22

📥 Commits

Reviewing files that changed from the base of the PR and between fa051d1 and 67a6508.

📒 Files selected for processing (9)
  • src/pages/videoDetail/ui/VideoDetailPage.tsx
  • src/widgets/channel/Kpi/ui/KpiSection.tsx
  • src/widgets/influencerDetail/channelSummary/ui/ChannelSummarySection.tsx
  • src/widgets/influencerDetail/engagementAnalytics/ui/EngagementAnalyticsSection.tsx
  • src/widgets/influencerDetail/impactMetrics/ui/ImpactMetricsSection.tsx
  • src/widgets/influencerDetail/influencerBaseInfo/ui/InfluencerBaseInfo.tsx
  • src/widgets/main/channelProfile/ui/ChannelProfileSection.tsx
  • src/widgets/videoDetail/retention/ui/RetentionSection.tsx
  • src/widgets/videoDetail/stats/ui/VideoStatsSection.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/remove-mock-fallback

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@shunn2 shunn2 merged commit 4936c83 into develop Jul 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant