:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(billing): rename platform add-ons to packages on billing page (#60305)
Raquel Smith027ed9dcbfc3
diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 3d3c1e22452e..bd44da2c63ba 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -4671,9 +4671,9 @@ snapshots:scenes-app-feature-flags--new-multivariate-flag-variant-key-error--light:hash: v1.k794b7964.b02933f644aee3ce68340c02f2e73068c77b1804d10e10de6b93291f32f38b53.XkrGBrHhNOptEjC2JV5y7umfR7qovViNR_RqM7O6I_Escenes-app-feature-flags--new-remote-config-flag-payload-error--dark:- hash: v1.k794b7964.41717dc825a37facb7c1fe3bb7cbbcb135f80f69971279a9ffba4a88d2946316.fHerCbJ-eNkDoZmMfgM39T2qWIFZdpxFjcAhPDzBlhQ+ hash: v1.k794b7964.0716c42b31d25301be964cdab7e21c95243365277b659fbd9a75c6585e22ac21.m28YUxIOBIAXbBh41zQk8-v6_zTTCKBmd_elCFoika0scenes-app-feature-flags--new-remote-config-flag-payload-error--light:- hash: v1.k794b7964.f51fc88581aa9679f0315bdfcc665968a85dc44d3a351b4b558fa10508e1c3b2.TDiDX5REkSVUJtb_HL095q3zzOlFMJHDngWeGy0LNS8+ hash: v1.k794b7964.6c218470f844481fc095ad6a185b4b6a26b4f53ec24fb7e90f7eb5e109ce54b1.9OV5jh7WsD_9Aem8CMAd3rOx_oZ_aBk9C6zWOd90LLMscenes-app-feature-flags-code-examples--code-instructions-node-with-group-multivariate-flag-local-evaluation--dark:hash: v1.k794b7964.ac812954f56156e7283a5103f2d7ef66391e452a67c60df53ab7bb23f08231c4.GayyB5gpMu03PVFXWLU0h99-6qG28mNLT2sdqZpb64cscenes-app-feature-flags-code-examples--code-instructions-node-with-group-multivariate-flag-local-evaluation--light:@@ -6035,9 +6035,9 @@ snapshots:scenes-other-billing-product--billing-product-inclusion-only-with-addon--light:hash: v1.k794b7964.acaa8f4ed8cb5d6846cfa8bbb918aa691d452a5618a2f83c4ac1adc8e18f8755.b0IharphQq76FoKkETUjqAvNbsN1kYsrAUf1gtpBTSwscenes-other-billing-product--billing-product-platform-addons-on-legacy-teams--dark:- hash: v1.k794b7964.9efe1a28355eaf77ffadb98c3abdcfd7193d18312e140d2d39d1e0d8c0829e8a.VKuvXT3II-350aVzYfnwvtnUQ28utVHVbeX3SA1bS5o+ hash: v1.k794b7964.cf105e9d8eaa2e6eaa79a1322600d6a2112d9a7fdccce5348d3f2fdaf943fcbd.HZzj8qUI6LnpxV_Gr8Uo01N11w5yupZbc6xe377PJNkscenes-other-billing-product--billing-product-platform-addons-on-legacy-teams--light:- hash: v1.k794b7964.f8bd770834e4a0403daeaca137f656e4ba0355fda6e42f80039bd2555b96dc8f.8v5IG2YENZ2AwrJ_eF1dotJ6y5Qx4jrC9E6mOK2PUlw+ hash: v1.k794b7964.bd05411bd5118914ff31c17772f97a8c17a65e5750f52096c7f1bed552821f07.3wJyaPK9dBl63XWIu5oBheFU_g_HS8ZFaamykHWYQAQscenes-other-billing-product--billing-product-platform-addons-on-scale--dark:hash: v1.k794b7964.44a68a6c75b765c2dbae2bf5d7597b2b9b95655cb475882e8ceded5815039c00.R_hJ9T6g5_HgjenXAxJ6WCnm6BzJauTfDsjCVjLi-Twscenes-other-billing-product--billing-product-platform-addons-on-scale--light:diff --git a/frontend/src/scenes/billing/BillingProduct.tsx b/frontend/src/scenes/billing/BillingProduct.tsxindex 845f57d350c6..1fcac01ef2b2 100644--- a/frontend/src/scenes/billing/BillingProduct.tsx+++ b/frontend/src/scenes/billing/BillingProduct.tsx@@ -92,6 +92,8 @@ export const BillingProduct = ({ product }: { product: BillingProductV2Type }):workflows_emails: 'Workflows',}const displayProductName = productDisplayNameOverrides[product.type] || product.name+ const isPlatformProduct = product.type === 'platform_and_support'+ const addonSectionLabel = isPlatformProduct ? 'Packages' : 'Add-ons'const upgradeToPlanKey = upgradePlan?.plan_keyconst currentPlanKey = currentPlan?.plan_key@@ -536,12 +538,13 @@ export const BillingProduct = ({ product }: { product: BillingProductV2Type }):{product.addons?.length > 0 && !isProductWithVariants && (<div className="pb-8">{/* Add-ons title */}- <h4 className="my-4">Add-ons</h4>+ <h4 className="my-4">{addonSectionLabel}</h4>{billing?.subscription_level == 'free' && (<LemonBanner type="warning" className="text-sm mb-4" hideIcon><div className="flex justify-between items-center"><div>- Add-ons are only available on paid plans. Upgrade to access these features.+ {addonSectionLabel} are only available on paid plans. Upgrade to access+ these features.</div><BillingUpgradeCTAtype="primary"diff --git a/frontend/src/scenes/billing/PlatformAddonComparison.tsx b/frontend/src/scenes/billing/PlatformAddonComparison.tsxindex 7c832beefaf4..f9d00996497f 100644--- a/frontend/src/scenes/billing/PlatformAddonComparison.tsx+++ b/frontend/src/scenes/billing/PlatformAddonComparison.tsx@@ -176,7 +176,7 @@ const LegacyPlanHero = ({ addon }: { addon: BillingProductV2AddonType }): JSX.El<LemonTag type="warning">Legacy</LemonTag></div><div>- You're on our legacy {addon.name} add-on. Compare the new plans below if you'd like to switch.+ You're on our legacy {addon.name} package. Compare the new plans below if you'd like to switch.</div></div><div className="flex items-center gap-2 shrink-0 self-center">@@ -196,7 +196,7 @@ const LegacyPlanHero = ({ addon }: { addon: BillingProductV2AddonType }): JSX.ElreportSurveyShown(UNSUBSCRIBE_SURVEY_ID, addon.type)}}>- Remove add-on+ Remove package</LemonButton>}/>