Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: copy for billing migration (#17843)

Kevin Grüneberg0405e22ecec2
diff --git a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx b/studio/components/interfaces/Home/ProjectList/ProjectList.tsx
index aaa65f13805..62c56a73916 100644
--- a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx
+++ b/studio/components/interfaces/Home/ProjectList/ProjectList.tsx
@@ -186,6 +186,11 @@ const OrganizationProjects = ({
.
</p>
+ <p className="text-sm leading-normal">
+ Please do this until the <span className="font-medium">18th of October</span>, as
+ remaining organizations will be migrated.
+ </p>
+
<div className="space-x-3">
<Link href="https://supabase.com/blog/organization-based-billing" passHref>
<Button asChild type="default" icon={<IconExternalLink strokeWidth={1.5} />}>
diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx
index 5e6515bc784..7f06512c584 100644
--- a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx
+++ b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx
@@ -380,7 +380,7 @@ const PlanUpdateSidePanel = () => {
}
/>
- {subscriptionPreview.number_of_projects &&
+ {subscriptionPreview.number_of_projects !== undefined &&
subscriptionPreview.number_of_projects > 1 && (
<p className="text-sm mt-2">
All {subscriptionPreview.number_of_projects} projects from your organization "
diff --git a/studio/components/interfaces/Organization/GeneralSettings/MigrateOrganizationBillingButton.tsx b/studio/components/interfaces/Organization/GeneralSettings/MigrateOrganizationBillingButton.tsx
index a349dc359f5..9e1589af680 100644
--- a/studio/components/interfaces/Organization/GeneralSettings/MigrateOrganizationBillingButton.tsx
+++ b/studio/components/interfaces/Organization/GeneralSettings/MigrateOrganizationBillingButton.tsx
@@ -209,12 +209,8 @@ const MigrateOrganizationBillingButton = observer(() => {
<Modal.Content>
<div className="text-foreground-light text-sm space-y-2">
<p>
- Migrating to new organization-based billing combines subscriptions for all projects
- in the organization into a single subscription.
- </p>
-
- <p>
- For a detailed breakdown of changes, see{' '}
+ With organization-based billing, you'll have a single subscription for your entire
+ organization. For a detailed breakdown of changes, see{' '}
<Link href="https://supabase.com/docs/guides/platform/org-based-billing">
<a target="_blank" rel="noreferrer" className="underline">
Billing Migration Docs
@@ -223,7 +219,7 @@ const MigrateOrganizationBillingButton = observer(() => {
. To transfer projects to a different organization, visit{' '}
<Link href="/project/_/settings/general">
<a target="_blank" rel="noreferrer" className="underline">
- General settings
+ general project settings
</a>
</Link>
.
@@ -263,7 +259,7 @@ const MigrateOrganizationBillingButton = observer(() => {
>
Pricing
</a>{' '}
- for more details. Please contact support if you are an Enterprise customer.
+ for more details.
</p>
{tier !== '' && tier !== 'FREE' && (
@@ -395,7 +391,7 @@ const MigrateOrganizationBillingButton = observer(() => {
{migrationPreviewIsSuccess && dbTier !== 'tier_free' && (
<Modal.Content>
<InformationBox
- defaultVisibility={false}
+ defaultVisibility={true}
title={
<span>
Estimated monthly price is $
@@ -441,10 +437,10 @@ const MigrateOrganizationBillingButton = observer(() => {
<tbody>
<tr>
- <td className="py-2 text-sm">Total</td>
+ <td className="py-2 text-sm font-medium">Total</td>
<td className="py-2 text-sm" />
<td className="py-2 text-sm" />
- <td className="py-2 text-sm text-right">
+ <td className="py-2 text-sm text-right font-medium">
$
{migrationPreviewData.monthly_invoice_breakdown.reduce(
(prev, cur) => prev + cur.total_price,
@@ -454,6 +450,17 @@ const MigrateOrganizationBillingButton = observer(() => {
</tr>
</tbody>
</table>
+
+ {migrationPreviewData.old_tiers.some((it) => it === 'tier_free') && (
+ <div className="mt-2">
+ <p>
+ While paused projects do not incur compute costs, the breakdown assumes
+ that none of your projects are paused. Unpausing projects is self-serve
+ and pausing projects on paid plans is currently only possible via support
+ due to infrastructure restrictions.
+ </p>
+ </div>
+ )}
</div>
}
/>
diff --git a/studio/components/interfaces/Organization/GeneralSettings/OrganizationBillingMigrationPanel.tsx b/studio/components/interfaces/Organization/GeneralSettings/OrganizationBillingMigrationPanel.tsx
index fd8a63d0404..d6b4cb33e42 100644
--- a/studio/components/interfaces/Organization/GeneralSettings/OrganizationBillingMigrationPanel.tsx
+++ b/studio/components/interfaces/Organization/GeneralSettings/OrganizationBillingMigrationPanel.tsx
@@ -23,8 +23,7 @@ const OrganizationBillingMigrationPanel = observer(() => {
<div className="space-y-2">
<p className="text-sm text-foreground-light">
You will have a single subscription for all projects inside the organization, rather
- than individual subscriptions per project. Migrating to organization-based billing
- is not reversible.
+ than individual subscriptions per project.
</p>
</div>
<div className="flex items-center gap-4 ml-12">