Skip to content

CONV-272: Show buy credits CTA in user dropdown#241

Merged
menvil merged 1 commit into
developfrom
feature/CONV-272-show-buy-credits-cta-in-user-dropdown
Jun 2, 2026
Merged

CONV-272: Show buy credits CTA in user dropdown#241
menvil merged 1 commit into
developfrom
feature/CONV-272-show-buy-credits-cta-in-user-dropdown

Conversation

@menvil

@menvil menvil commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds compact <x-billing.buy-credits-cta variant="compact" /> to user dropdown credits section
  • Shown inline next to balance: 450 available [Buy credits]
  • Dropdown remains compact — no full pricing table

Test plan

  • tests/Feature/Dashboard/UserDropdownBuyCreditsTest.php — "Buy credits" visible in dashboard response
  • composer test passes (485 tests)
  • composer lint passes
  • npm run build passes

🤖 Generated with Claude Code


Summary by cubic

Adds a compact “Buy credits” CTA to the user dropdown next to the credits balance. Keeps the dropdown compact and fulfills CONV-272.

Written for commit 86d6751. 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: d734f39a-e05e-4b79-9bec-7249fc5f621c

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-272-show-buy-credits-cta-in-user-dropdown

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-272-show-buy-credits-cta-in-user-dropdown branch from 803a4a4 to 86d6751 Compare June 2, 2026 18:33
@menvil menvil merged commit a01e202 into develop Jun 2, 2026
1 check was pending
@menvil menvil deleted the feature/CONV-272-show-buy-credits-cta-in-user-dropdown 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