Commit Graph
27 Commits
Author SHA1 Message Date
af47a2d010 experiment:pricing feedback iteration on calculator (#42451)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Feature — A/B experiment for a new pricing calculator on the `/pricing`
page, gated behind a PostHog feature flag.

## What is the current behavior?

The pricing page shows a single compute pricing section
(`PricingComputeSection`) to all visitors with no experimentation
support.

## What is the new behavior?

- Introduces a **pricing calculator A/B experiment**
(`pricingCalculatorExperiment`) using PostHog feature flags evaluated
client-side.
- **Control variant**: Renders the existing `PricingComputeSection` (no
change).
- **Test variant**: Renders a new `NewPricingComputeSection` with:
  - A plan selector toggle (Pro / Team)
  - An interactive compute calculator with slider-based instance sizing
  - Ability to add/remove multiple project instances
  - Live monthly cost estimate breakdown (plan + compute - credits)
  - Expandable compute pricing table with detailed specs
- Adds `getFeatureFlag` and `onFeatureFlags` methods to the shared
`PostHogClient` for client-side flag evaluation on www pages (where
server-side evaluation lacks full person context).

## Additional context

- The experiment is scoped to the `/pricing` page only.
- New components (`NewPricingComputeSection`,
`NewComputePricingCalculator`) are created alongside the existing ones —
the control path is completely untouched.
- Feature flag evaluation happens client-side because www pages don't
have full person context on the server.
- Telemetry type `PricingCalculatorExperimentExposedEvent` is added to
`telemetry-constants.ts`.

---------

Co-authored-by: Sean Oliver <882952+seanoliver@users.noreply.github.com>
Co-authored-by: Mert YEREKAPAN <mertyerekapan@gmail.com>
Co-authored-by: Mert YEREKAPAN <33198490+myerekapan@users.noreply.github.com>
2026-03-10 13:57:52 +01:00
Kevin Grüneberg 589cdae7e5 chore: log drains on Pro Plan (#42435) 2026-03-03 19:10:23 +08:00
kemal.earth 817b9deeaa feat(studio): adding log drains mention to plan features (#40136)
* feat: add mention of log drains to team plan in plan selection

Adds an additional feature row to the Team Plan to mention log drains can be added for another 60 dollars

* feat: experiment with highlighing team plan

* style: minor ring adjustment
2025-11-05 16:14:04 +00:00
Kevin Grüneberg d60b3e3b9e feat: cached egress rollout (#37827) 2025-08-13 17:36:48 +08:00
Alaister YoungandKevin Grüneberg 7d9bdb3abc chore: add planId (#36500)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2025-06-18 06:28:43 +00:00
Kevin Grüneberg 173cc56e71 feat: expose project perms to team plan (#35007) 2025-04-21 10:05:54 +08:00
Kevin Grüneberg 5eb57a4fa2 chore: mention larger instance sizes (#34473) 2025-03-28 12:55:41 +01:00
Kevin Grüneberg c96bd5c107 refactor: database size metric for Free Plan (#33039)
Instead of basing the database size metric for the Free Plan on summing up the average database size per project in the organization, we are going to simply enforce a database size limit of 0.5 GB per active project. Deleted projects are irrelevant and it should be much easier for customers to understand. We are querying the database size directly via the project to avoid delays.
2025-01-27 18:34:07 +08:00
Kevin Grüneberg 7d6eb26ede chore: prep (#28690) 2024-08-27 09:20:18 +02:00
Francesco Sansalvadore 1baf027fb1 chore: update pricing page / compute wording (#28017) 2024-07-19 15:39:11 +08:00
Wen Bo XieandKevin Grüneberg f1541878a9 fix: singularize and capitalize Supabase plans (#28052)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-07-18 04:49:00 +00:00
Kevin Grüneberg a350daeee2 fix: instance specs (#28009) 2024-07-16 15:31:19 +08:00
Thomas 124205b27f Show correct subscription plan features for AWS billed org [GEN-8844] (#22824) 2024-04-19 09:49:39 +02:00
Kevin Grüneberg bbda1aaee7 chore: adjust copy around SLAs (#21102) 2024-02-08 02:10:49 +00:00
Francesco Sansalvadore 70b9a6bcc5 Pricing page update (#20744) 2024-02-07 12:59:25 +08:00
Thomas 755461cdca chore: Customize price plan info for partner Fly (#20642) 2024-01-23 12:51:28 +08:00
Abishya d7a2048c6d fix: move SSO/SAML from Enterprise to Teams (#20273)
We are moving this feature- SSO/SAML from Enterprise to Teams as it is a Teams plan feature
2024-01-09 18:42:12 +01:00
Kevin Grüneberg 11914a55de chore: remove old billing code (#18610) 2023-11-01 10:52:52 +01:00
Pamela Chia 9070a469df fix/ correct hipaa description in pricing page 2023-09-13 08:07:58 +08:00
Kevin Grüneberg ad2d2984d1 fix: copy for project-based billing 2023-09-07 23:49:55 +02:00
Kevin Grüneberg ac85811fe9 feat: launch org-based billing 2023-09-04 13:21:53 +02:00
joel@joellee.org 7c25f5f452 chore: remove Enterprise OAuth providers as a feature 2023-09-01 09:29:01 +02:00
Kevin Grüneberg 2c2a3e9967 chore: pricing page adjustments for hipaa/storage/byoc 2023-08-11 09:37:34 +08:00
Kevin Grüneberg 1a88629b2b chore: adjust copy for org level billing 2023-07-11 10:35:24 +02:00
Kevin Grüneberg 887d09cb4c chore: clarify copy around Pro plan being per project 2023-06-17 18:13:28 +02:00
Kevin Grüneberg bd09eb0875 small fixes 2023-06-08 12:35:27 +02:00
Kevin Grüneberg e3df2f453d feat: add team plan 2023-06-08 10:59:56 +02:00