fix(usage): reword the plan hint when we have no billing period - #8430
fix(usage): reword the plan hint when we have no billing period#8430talissoncosta wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe usage dashboard now uses revised hint text for rolling plans without billing periods. The tests now assert the exact free-plan hint and the updated paid-plan wording. Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This change only clarifies the usage hint shown when exact billing periods are unavailable; subscription handling and free-plan behavior remain unchanged. No actionable merge-blocking risk remains beyond normal checks and review. 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 |
"This organisation has no billing period" names an absence in the customer's account, so a customer on a contract reads it as something being wrong with theirs. Matt's wording puts the limitation on us instead, which is where it belongs: we hold the dates only for Chargebee subscriptions. Still shown only to paid organisations. A free plan has no billing period by design, so there is nothing we are failing to show. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
f5d991c to
4af37f9
Compare
Docker builds report
|
✅ private-cloud · depot-ubuntu-latest-16 — run #20038 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
🗂️ Previous results✅ private-cloud · depot-ubuntu-latest-arm-16 — run #20038 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #20038 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #20038 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
|
Visual Regression19 screenshots compared. See report for details. |
Changes
Copy only, follow-up to #8357.
Before:
After:
The old line names an absence in the customer's account, so someone on a contract reads it as something being wrong with theirs. The limitation is ours: we only hold those dates for Chargebee subscriptions.
Free plans are unaffected, they keep the first sentence alone.
How did you test this code?
npm run test:unit -- --testPathPatterns="pages/usage", and the Pages/Usage Dashboard stories in Storybook.