Repository navigation
feat(settings): show the plans in Billing as the pricing page does - #1297
Conversation
Settings → Billing's plan cards and custom plan box now follow www.ansvisor.com/pricing. - Each card lists, with a check: brands, unlimited seats, prompts tracked, the answer engines it tracks by name (Starter: ChatGPT & Microsoft Copilot; Growth: ChatGPT, Perplexity, Gemini, Microsoft Copilot, Google AI Mode and Google AI Overviews, instead of "8 answer engines"), content briefs and site audits a month, and what the plan adds; the taglines are the pricing page's. - "Need a custom plan?" says who it's for and that it starts at $499/month, with six of the custom plan's points. - The copy is in en.json (settings.planCards, customPlanPoints); the card keys nothing uses any more are removed. Plan limits are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@gkhngyk This is a small product PR from main. Settings → Billing's plan cards now match www.ansvisor.com/pricing. Growth names its six engines instead of "8 answer engines", both plans show unlimited seats, and "Need a custom plan?" lists what Custom adds and that it starts at $499/month. It's a first pass; we'll improve the page further later. One question: Growth still has |
gkhngyk
left a comment
There was a problem hiding this comment.
Looks good. The counts come from PLANS, so the cards follow the limits.
The Growth engine question (limiting Growth to the six named engines with allowedScrapers) is for @gkhngyk. It changes tracking for existing Growth organizations, so it would be its own PR.
ansvisor#1296 and ansvisor#1297 are squash-merged on main; this keeps only this branch's own change on top. Claude-Session: https://claude.ai/code/session_0121amRjX7UFrgmGELAtkc7A
Summary
Settings → Billing → Change Plan now follows www.ansvisor.com/pricing, which is up to date. The in-app cards weren't: Growth said "8 answer engines", but it tracks six named engines. This is a modest first pass; more can follow.
Plan cards (
web/src/components/settings/plan-switcher.tsx)PLANSlimits; only the engine names and the extras are copy.Custom plan box
Copy
en.json:settings.planCards(taglines, engines, extras, counts) andsettings.customPlanPoints.settings.unlimited,brands,prompts,platforms,teamMembers) are removed.Question for the reviewer
Growth's
maxPlatformsis still 8 inconfig/plans.tsandserver/src/config/plans.js, with noallowedScrapers. So Growth can still pick engines beyond the six the pricing page names, such as Claude or Grok. This PR only changes what the card says. Should Growth be limited to the six (allowedScrapers), as Starter is to two? That would change tracking for existing Growth customers, so I left it for you.Related issue
None. Product request to match the pricing page.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
With
NEXT_PUBLIC_IS_CLOUD=true, sign in to an organization on Starter (or Growth).Checked locally with the demo organization on Starter, which was set back afterwards. Checked in light and dark, and at 1024px. The Invoice History box errors locally because there's no Stripe key; that's unrelated.
Tests: new
plan-switcher.test.tsx. It checks both cards' lists exactly ("8 answer engines" gone), the custom plan's line and points, and the Contact Us link.Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/) (0 errors; the 6 warnings are in untouched files, as on main)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Web:
yarn test(1,910 tests) andyarn buildpass. No server change, no migration.🤖 Generated with Claude Code