Skip to content

feat(pricing): show live plan prices and scheduled price changes - #295

Open
raviships wants to merge 1 commit into
nextfrom
feat/pricing-from-catalog
Open

raviships wants to merge 1 commit into
nextfrom
feat/pricing-from-catalog

Conversation

@raviships

Copy link
Copy Markdown
Collaborator

Companion to edgestorejs/edge-store-app#452, the October plan and price change.

  • Starter and Pro prices come from /api/pricing (basePrice, in cents) instead of the hardcoded $5/$35. If an older dashboard doesn't return a price, the page falls back to those values.
  • When the dashboard has a price change scheduled (upcomingPricing), the card shows it under the current price.
  • The page revalidates hourly (revalidate = 3600), so the switch at the deadline appears without a redeploy. It was force-static with only the layout's 24-hour revalidation.

Limits on this page already came from the dashboard. After #452 they come from the plan catalog, so the new Starter and Pro limits appear once the limit script runs.

Targets next, where the v1 site lives.

Rendered against a mock response with a Starter change scheduled for Oct 26:

Pricing page with a scheduled Starter price change

🤖 Generated with Claude Code

Read Starter and Pro prices from the dashboard's /api/pricing instead of
hardcoding them, note a scheduled price change under the current price,
and revalidate the page hourly so changes appear without a redeploy.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
edgestore-docs Ready Ready Preview Oct 6, 2026 11:54am UTC
2 Skipped Deployments
Project Deployment Actions Updated
example-access-control Skipped Skipped Oct 6, 2026 11:54am UTC
example-components Skipped Skipped Oct 6, 2026 11:54am UTC

Request Review

@vercel
vercel Bot temporarily deployed to Preview – example-access-control October 6, 2026 11:53 Inactive
@vercel
vercel Bot temporarily deployed to Preview – example-components October 6, 2026 11:53 Inactive
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T11:56:36.097294Z a6f92cc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch was successfully deployed

1 active and 2 inactive deployments
Preview – edgestore-docs — a6f92cc4 Deployed Oct 6, 2026 by vercel[bot]
Preview – example-access-control — a6f92cc4 Deployed Oct 6, 2026 by vercel[bot]
Preview – example-components — a6f92cc4 Deployed Oct 6, 2026 by vercel[bot]
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