fix: billing and plans pages#1575
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (18)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis PR implements permission-based access control for billing operations, replaces the billing details dialog with a checkout flow mutation, refactors loading state management across billing and plans components, and standardizes currency component usage and styling patterns. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~65 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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. Comment |
Coverage Report for CI Build 25065877374Warning Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes. Coverage remained the same at 42.353%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Summary
views-new/billingpermissions to match the old flow: gate the page behind a "Restricted Access"EmptyStatewhen the user lacks the canSeeBilling permission, and route billing-detail edits to the Stripe customer portal instead of an in-app dialog.loading/loaderTextto the action buttons during checkout.views-new/plansmonetary formatting by removingvalueInMinorUnits={false}so the ApsaraAmountcomponent correctly treats backend cents as minor units, and restyle the interval tabs to medium size via a CSS module override.useEffect), and render skeleton rows inFeatureTablewhilelistFeaturesis loading instead of leaving whitespace.