Repository navigation
chore(www): remove the Business launch switch, so every build sells Business - #2427
Conversation
…usiness At the maintainer's ask, 10 Nov 2026. NEXT_PUBLIC_BUSINESS_LAUNCHED is gone, and every build of www is the launched site: - /pricing shows Free, Business and Enterprise with the licence table, and /pricing/business, the lawyer, accountant and job pages are always served and listed in the sitemap. - The nav's For menu, the footer and the homepage band always list every audience and job page. - /plugins lists the three built-in sources, the MCP page drops the retired scraper tools, and the trial, licence and download copy describes the 14-day trial of the jobs. - The Individual checkout page and the pre-launch pricing copy are deleted; /pricing/individual and the retired scrapers' pages redirect permanently, as they did with the switch on. - The tests for the switched-off site go; the nav, redirect and plugin tests check the one site. - docs: the portal runbook no longer flips a site switch. The site sells Business from the deploy that carries the release, so the launch-day steps, the Business terms and the lawyer's read come before it.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
At the maintainer's ask on 10 Nov 2026:
www's Business launch switch,NEXT_PUBLIC_BUSINESS_LAUNCHED, is removed. Every build of the site is now the launched site.What changes
/pricingshows Free, Business and Enterprise, with the "What each licence gets" table;/pricing/business,/ai-for-lawyers,/ai-for-accountants,/jobs/contract-redlineand/jobs/security-questionnaireare served and listed in the sitemap./pluginslists the three built-in sources;/mcp-serverdrops the retired scraper tools and their keywords;/pricing/individual), the pre-launch pricing copy, the "7 platforms" tooltip and the switch module;.env.exampleloses the switch and the Individual Payment Link./pricing/individualand the retired scrapers' pages still redirect permanently, as they did with the switch on (checked in the build's routes manifest).docs/architecture/license/portal.md: launch-day step 11 no longer flips a site switch;09-audience-pages.mdrecord the change.Before the release that carries this
Without the switch, the site starts selling Business from the deploy that carries this release. Three things the repo ties to that moment now come before it:
portal.md, step 11). SetNEXT_PUBLIC_STRIPE_LICENSE_BUSINESS_URLin Vercel before that deploy. Run the backend redeploy, the Keygen setup, the pack publishing andLICENSE_TRIAL_BUSINESSstraight after it. The contract redline pack is still unsigned (Contract redline job (ADR 0086): where it stands #2414).The local app has no launch switch: its Business changes are already unconditional on
dev. This PR doesn't touch two other switches, which wait for a decision:SURFSENSE_LOCAL_JOBS_UNLOCKED, the app's developer switch that runs paid jobs without a licence, which the job tests use;LICENSE_TRIAL_BUSINESSon the licence server.Tests
The tests for the switched-off site go:
business-launched.test.ts;The nav test now checks the one bar, Resources and the footer, and that every link resolves to a page.
pnpm test:unit: 193 of 193 pass.pnpm typecheck: clean.biome check: clean on the touched files; the one info is the nav's pre-existing fragment.pnpm build, with no environment set:/ai-for-lawyers,/jobs/contract-redlineand/pricing/businessreturn 200;/pricinghas the Business title and the table;/pricing/businessand the four Business pages;/pricing/individualredirects to/pricing/businesswith a 308.High-level PR Summary
This PR removes the
NEXT_PUBLIC_BUSINESS_LAUNCHEDfeature switch from the www site, making Business pricing and pages (lawyers, accountants, contract redline, security questionnaire) available in every build. The switch and Individual licence checkout page are deleted, redirects are made permanent, and documentation is updated to reflect that the site now sells Business from the moment this code deploys rather than via a runtime switch.⏱️ Estimated Review Time: 15-30 minutes
💡 Review Order Suggestion
www/.env.examplewww/features/business-launch/business-launched.mtswww/features/business-launch/business-launched.test.tsdocs/architecture/license/portal.mdplans/community-local/legal/business-terms-draft.mdplans/community-local/seo/09-audience-pages.mdwww/features/business-launch/launch-redirects.mtswww/features/business-launch/launch-redirects.test.tswww/next.config.mtswww/app/sitemap.tswww/features/site-navigation/site-navigation.tswww/features/site-navigation/site-navigation.test.tswww/components/site/site-nav.tsxwww/components/site/site-footer.tsxwww/app/(home)/pricing/page.tsxwww/app/(home)/pricing/pricing-content.tswww/app/(home)/pricing/business/page.tsxwww/app/(home)/pricing/business/business-sections.tsxwww/app/(home)/pricing/business/business-content.tswww/app/(home)/pricing/individual/page.tsxwww/app/(home)/pricing/individual/individual-content.tswww/app/(home)/pricing/individual/individual-sections.tsxwww/app/(home)/pricing/platforms-tooltip.tsxwww/app/(home)/pricing/pricing-sections.tsxwww/app/(home)/pricing/continue-to-checkout.tsxwww/app/(home)/ai-for-lawyers/page.tsxwww/app/(home)/ai-for-accountants/page.tsxwww/app/(home)/jobs/contract-redline/page.tsxwww/app/(home)/jobs/security-questionnaire/page.tsxwww/features/audience-pages/audience-metadata.tswww/app/(home)/plugins/page.tsxwww/app/(home)/plugins/plugin-browser.tsxwww/app/(home)/plugins/plugin-list.tswww/app/(home)/plugins/built-in.test.tswww/app/(home)/mcp-server/page.tsxwww/app/(home)/_home/home-audiences.tsxwww/app/(home)/_home/home-content.tswww/app/(home)/_home/home-features/visuals/plugins-visual.tsxwww/app/(home)/downloads/page.tsxwww/app/(home)/license/activate/page.tsxwww/app/(home)/license/success/page.tsxwww/features/license/license-forms.tsxwww/app/(home)/free/[model_slug]/page.tsxwww/app/(home)/private-ai-for-business/page.tsxwww/features/funnel-attribution/funnel-events.tswww/components/site/guide-steps.tsxwww/components/site/site-content.tsSummary by CodeRabbit
/pricing/individualnow permanently redirects to/pricing/business.