Skip to content

site: restore the real pricing figures behind the spec table's TBCs - #8178

Merged
ankur-arch merged 2 commits into
mainfrom
site/restore-pricing-tbc-values
Aug 25, 2026
Merged

site: restore the real pricing figures behind the spec table's TBCs#8178
ankur-arch merged 2 commits into
mainfrom
site/restore-pricing-tbc-values

Conversation

@sneub

@sneub sneub commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

The "Compare plans" table on /pricing was shipping four rows of dashed TBC badges to users. Those figures were never actually missing — they were carried by the pre-rebrand pricing table and lost in the rebrand merge (#8142).

This restores them from apps/site/src/app/pricing/pricing-data.ts at 528ab05fc^, the same live table the current spec table was modelled on.

What changed

Row Free Starter Pro Business
Cache tag invalidations $0.002 per 1,000, max 10,000 per day $0.001 per 1,000, max 100,000 per day
Cache purge requests 5 per hour 5 per hour 10 per hour 20 per hour
Support Community Community Standard Premium
Backups (unchanged) (unchanged) (unchanged)

Two of these are em dashes rather than restored numbers, deliberately:

  • Cache tag invalidations on Free/Starter were a literal - in the old data — not included, not unknown.
  • Backups on Free weren't in the old table at all, but /postgres/database/backups states snapshots are a Starter, Pro, and Business feature. "Not included" is the accurate cell, not a guess.

Cleanup

With no placeholders left, the PENDING const and the dashed-badge branch in Cell are dead code, so both come out — along with three comments that still described the TBC-vs-em-dash convention (spec table header, pricing-cost-bar.tsx, brand-kit/content.ts).

The page has had no reader-facing legend explaining a placeholder since it was pulled on 2026-07-30, so the header comment now says to edit a figure rather than reintroduce one.

Two things worth a reviewer's call

  1. pricing-comparison.tsx still has TBC machinery (const PENDING = "TBC" + PendingBadge), but both comparison columns are pending: false, so nothing renders. Left in place as scaffolding for a future column — happy to strip it if you'd rather it went.
  2. The Global cache group itself is still an open question. Gregory said Accelerate is being deprecated, so whether the group belongs on the page at all is a separate decision. This PR only restores its figures.

Testing

  • oxlint clean on the changed files.
  • types:check reports only pre-existing "cannot find module" errors across the whole app (missing deps); nothing from these files.
  • No rendered TBC remains anywhere on the pricing page.

Summary by CodeRabbit

  • New Features
    • Replaced placeholder “TBC” values on the pricing page with concrete figures for cache invalidations, cache purge requests, free backups, and support tiers.
  • Bug Fixes
    • Improved pricing table clarity by removing pending-state placeholders and displaying complete pricing information.

The "Compare plans" table on /pricing shipped four rows of dashed "TBC"
badges: cache tag invalidations, cache purge requests, Free-plan backups,
and the support tiers. Those figures were never actually missing — they
were carried by the pre-rebrand pricing table and lost in the rebrand
merge (#8142), so the placeholders were shipping to users for values we
already had.

Restore them from apps/site/src/app/pricing/pricing-data.ts at 528ab05^,
the same live table the current spec table was modelled on:

  - Cache tag invalidations: em dash on Free and Starter (the old table
    had a literal "-" there — not included), $0.002 per 1,000 max 10,000
    per day on Pro, $0.001 per 1,000 max 100,000 per day on Business.
  - Cache purge requests: 5 / 5 / 10 / 20 per hour.
  - Support: Community / Community / Standard / Premium.
  - Backups on Free: em dash. Not in the old table at all, and
    /postgres/database/backups states snapshots are a Starter, Pro, and
    Business feature, so "not included" is the accurate cell rather than
    an unknown.

With no placeholders left, the PENDING const and the dashed-badge branch
in Cell are dead, so both come out along with three comments that still
described the TBC-vs-em-dash convention (spec table header, cost bar,
brand kit). The page has no reader-facing legend explaining a placeholder
anymore — that note was pulled on 2026-07-30 — so the header comment now
says to edit a figure rather than reintroduce one.

Still open, and unchanged by this: Gregory said Accelerate is being
deprecated, so whether the Global cache group belongs on the page at all
is a separate call.
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview Aug 25, 2026 12:40pm
docs Ready Ready Preview Aug 25, 2026 12:40pm
eclipse Ready Ready Preview Aug 25, 2026 12:40pm
site Ready Ready Preview Aug 25, 2026 12:40pm

Request Review

@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d52fb6e0-e381-40f3-b6ec-fcb3e610766d

📥 Commits

Reviewing files that changed from the base of the PR and between dac43fb and d31d7a4.

📒 Files selected for processing (3)
  • apps/site/src/components/brand-kit/content.ts
  • apps/site/src/components/sections/pricing-cost-bar.tsx
  • apps/site/src/components/sections/pricing-spec-table.tsx

Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.


Walkthrough

The pricing table replaces four groups of TBC placeholders with restored values. The pending-value renderer and related placeholder guidance are removed. Comments now describe the remaining pricing question and future null-value support.

Changes

Pricing content updates

Layer / File(s) Summary
Restore pricing row values
apps/site/src/components/sections/pricing-spec-table.tsx
Cache invalidation, cache purge, backup, and support rows now display restored values. Module notes describe the remaining Global cache question.
Remove placeholder handling
apps/site/src/components/sections/pricing-spec-table.tsx, apps/site/src/components/sections/pricing-cost-bar.tsx, apps/site/src/components/brand-kit/content.ts
The TBC rendering branch and related placeholder guidance are removed. Comments describe future null-value support and final copy requirements.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to d31d7

This PR restores missing pricing figures and removes obsolete placeholder rendering from the pricing page; no actionable merge-blocking risk remains beyond normal checks and review.

Suggested reviewers: nurul3101

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 66.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 3 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: restoring real pricing figures in the spec table and replacing TBC placeholders.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch site/restore-pricing-tbc-values

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.

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.

2 participants