feat(client): open stripe customer portal in a new tab by rohilsurana · Pull Request #1717 · raystack/frontier · GitHub
Skip to content

feat(client): open stripe customer portal in a new tab#1717

Closed
rohilsurana wants to merge 1 commit into
mainfrom
feat/client-billing-portal-new-tab
Closed

feat(client): open stripe customer portal in a new tab#1717
rohilsurana wants to merge 1 commit into
mainfrom
feat/client-billing-portal-new-tab

Conversation

@rohilsurana

Copy link
Copy Markdown
Member

The client SDK billing card now opens the Stripe customer portal in a new tab instead of a same-tab redirect (window.location.href).

The tab is opened synchronously within the click gesture so it isn't blocked by popup blockers, then navigated once the checkout URL is ready. The opener is severed for safety, and the tab is closed if the request fails (with a noopener,noreferrer fallback if the synchronous open was blocked).

This mirrors the admin-side behavior introduced in #1715.

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@rohilsurana, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 43 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

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.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 4c98d776-e06d-49c8-bce5-2672258d16d8

📥 Commits

Reviewing files that changed from the base of the PR and between 6dc16f9 and 571f228.

📒 Files selected for processing (1)
  • web/sdk/client/views/billing/billing-view.tsx

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.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report for CI Build 28434803399

Warning

Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes.
Quick fix: rebase this PR. Learn more →

Coverage remained the same at 43.804%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 37058
Covered Lines: 16233
Line Coverage: 43.8%
Coverage Strength: 12.39 hits per line

💛 - Coveralls

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