Skip to content

CONV-271: Add buy credits CTA component#240

Merged
menvil merged 1 commit into
developfrom
feature/CONV-271-add-buy-credits-cta-component
Jun 2, 2026
Merged

CONV-271: Add buy credits CTA component#240
menvil merged 1 commit into
developfrom
feature/CONV-271-add-buy-credits-cta-component

Conversation

@menvil

@menvil menvil commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds resources/views/components/billing/buy-credits-cta.blade.php
  • Supports variant prop: full (default) shows description + button; compact shows inline link
  • No hardcoded Stripe price IDs in Blade
  • Points to dashboard (billing page will come in Phase 18)

Test plan

  • tests/Feature/ViewComponents/BuyCreditsCtaTest.php — full and compact variants render with correct text
  • composer test passes (484 tests)
  • composer lint passes
  • npm run build passes

🤖 Generated with Claude Code


Summary by cubic

Adds a “Buy credits” CTA Blade component with full and compact variants that link to the dashboard. Addresses CONV-271 by giving users a clear entry point to purchase credits.

  • New Features
    • buy-credits-cta Blade component with variant prop (full default shows description + button; compact shows inline link).
    • Feature tests added for both variants.

Written for commit ff365a7. Summary will update on new commits.

Review in cubic

@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 31370d2f-36ef-4ead-90bc-17408f8b110a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/CONV-271-add-buy-credits-cta-component

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.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@menvil menvil force-pushed the feature/CONV-271-add-buy-credits-cta-component branch from 264c4bf to ff365a7 Compare June 2, 2026 18:33
@menvil menvil merged commit 202550d into develop Jun 2, 2026
1 check was pending
@menvil menvil deleted the feature/CONV-271-add-buy-credits-cta-component branch June 2, 2026 18:33
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