Skip to content

보상형 광고 기반 '내 물건 우선 노출' 기능 추가#902

Open
Cassiiopeia wants to merge 1 commit into
mainfrom
20260531_#819_보상형_광고_기반_내_물건_우선_노출_기능_추가

Hidden character warning

The head ref may contain hidden characters: "20260531_#819_\ubcf4\uc0c1\ud615_\uad11\uace0_\uae30\ubc18_\ub0b4_\ubb3c\uac74_\uc6b0\uc120_\ub178\ucd9c_\uae30\ub2a5_\ucd94\uac00"
Open

보상형 광고 기반 '내 물건 우선 노출' 기능 추가#902
Cassiiopeia wants to merge 1 commit into
mainfrom
20260531_#819_보상형_광고_기반_내_물건_우선_노출_기능_추가

Conversation

@Cassiiopeia

Copy link
Copy Markdown
Member

작업 내용

이슈 #819 — 보상형 광고 기반 '내 물건 우선 노출'(롬업) 기능의 프론트엔드 전체 플로우 구현.

내 물건 관리 탭에서 [⚡ 우선 노출] 버튼 클릭 → AdMob 보상형 광고 시청 완료 → 백엔드 우선노출 활성화 요청.

변경 사항

  • RewardedAdService — 보상형 광고 로드/표시/보상 콜백 캡슐화 (결과 boolean)
  • PromotionApi / PromotionRepository — 백엔드 우선노출 API 래핑
  • PromotionState / PromotionNotifier(promotionProvider) — Riverpod 4-레이어, 동기 Notifier + _inFlight dedup. "광고 보상 받아야만 BE 호출" 순서 보장
  • PromoteResult enum — 화면이 결과로 토스트 분기 (notifier가 UI 비의존)
  • my_register_item_screen — item tile에 우선노출 버튼/뱃지 추가, provider 구독, 토스트 분기
  • 단위 테스트 4케이스 (success / adNotEarned / failed / alreadyInFlight) — 전부 통과

검증

  • flutter analyze → No issues found
  • flutter test → 4/4 passed

후속 (백엔드 확정 필요)

  • 우선노출 API 실제 스펙(엔드포인트/바디/보상 검증) — 현재 // TODO(#819 BE) 마킹
  • 앱 재시작 시 우선노출 상태 복원
  • 노출 비율/만료/순번 표시

관련 이슈

…sitory·PromotionNotifier 추가 및 내 물건 관리 탭 우선노출 버튼/뱃지 구현 #819
@coderabbitai

coderabbitai Bot commented May 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

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

More reviews will be available in 1 minute and 30 seconds. Learn how PR review limits work.

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

⌛ 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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f50bf9df-a0da-4cfa-9e6b-865931486d0e

📥 Commits

Reviewing files that changed from the base of the PR and between 8daf00e and d1e6a13.

📒 Files selected for processing (11)
  • docs/superpowers/plans/2026-05-31-rewarded-ad-item-promotion.md
  • docs/superpowers/specs/2026-05-31-rewarded-ad-item-promotion-design.md
  • lib/enums/promote_result.dart
  • lib/providers/promotion_provider.dart
  • lib/providers/promotion_repository_provider.dart
  • lib/repositories/promotion_repository.dart
  • lib/screens/my_page/my_register_item_screen.dart
  • lib/services/apis/promotion_api.dart
  • lib/services/rewarded_ad_service.dart
  • lib/states/promotion_state.dart
  • test/providers/promotion_provider_test.dart
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 20260531_#819_보상형_광고_기반_내_물건_우선_노출_기능_추가

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.

@github-actions

Copy link
Copy Markdown
Contributor

✅ 프로젝트 빌드 성공

APK 빌드가 완료되었습니다.

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