Skip to content

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

chore: minor clarity improvements on new project creation (#38299)

Danny White8bf1fd5d106c
diff --git a/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/CreateNewProjectDialog.tsx b/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/CreateNewProjectDialog.tsx
index f76fe3ab7d6..22f464b6bfe 100644
--- a/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/CreateNewProjectDialog.tsx
+++ b/apps/studio/components/interfaces/Database/Backups/RestoreToNewProject/CreateNewProjectDialog.tsx
@@ -162,7 +162,7 @@ export const CreateNewProjectDialog = ({
<FormControl_Shadcn_>
<Input
id="db-password"
- label="Database Password"
+ label="Database password"
type="password"
placeholder="Type in a strong password"
value={field.value}
diff --git a/apps/studio/components/interfaces/ProjectCreation/PostgresVersionSelector.tsx b/apps/studio/components/interfaces/ProjectCreation/PostgresVersionSelector.tsx
index 1a002944dbd..9e4f0d3b2e1 100644
--- a/apps/studio/components/interfaces/ProjectCreation/PostgresVersionSelector.tsx
+++ b/apps/studio/components/interfaces/ProjectCreation/PostgresVersionSelector.tsx
@@ -61,7 +61,7 @@ export const PostgresVersionSelector = ({
form,
type = 'create',
layout = 'horizontal',
- label = 'Postgres Version',
+ label = 'Postgres version',
}: PostgresVersionSelectorProps) => {
const { data: project } = useSelectedProjectQuery()
diff --git a/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx b/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx
index 678dcd776d5..144f72ff090 100644
--- a/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx
+++ b/apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx
@@ -87,9 +87,14 @@ export const RegionSelector = ({
<>
<p>Select the region closest to your users for the best performance.</p>
{showNonProdFields && (
- <p className="text-warning">
- Note: Only US (NV), Frankfurt and SG are supported for local/staging projects
- </p>
+ <div className="mt-2 text-warning-600">
+ <p>Only these regions are supported for local/staging projects:</p>
+ <ul className="list-disc list-inside mt-1">
+ <li>East US (North Virginia)</li>
+ <li>Central EU (Frankfurt)</li>
+ <li>Southeast Asia (Singapore)</li>
+ </ul>
+ </div>
)}
</>
}
diff --git a/apps/studio/components/interfaces/ProjectCreation/SecurityOptions.tsx b/apps/studio/components/interfaces/ProjectCreation/SecurityOptions.tsx
index 90ffe223822..3a92bbad827 100644
--- a/apps/studio/components/interfaces/ProjectCreation/SecurityOptions.tsx
+++ b/apps/studio/components/interfaces/ProjectCreation/SecurityOptions.tsx
@@ -94,7 +94,7 @@ export const SecurityOptions = ({
control={form.control}
render={({ field }) => (
<>
- <FormItemLayout className="mt-6" layout={layout} label="Data API Configuration">
+ <FormItemLayout className="mt-6" layout={layout} label="Data API configuration">
<FormControl_Shadcn_>
<RadioGroupStacked
defaultValue={field.value.toString()}
diff --git a/apps/studio/components/ui/PasswordStrengthBar.tsx b/apps/studio/components/ui/PasswordStrengthBar.tsx
index b1b2b5fdc53..075364cad86 100644
--- a/apps/studio/components/ui/PasswordStrengthBar.tsx
+++ b/apps/studio/components/ui/PasswordStrengthBar.tsx
@@ -44,6 +44,7 @@ const PasswordStrengthBar = ({
>
Generate a password
</span>
+ .
</p>
</>
)
diff --git a/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx b/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
index 51a50a4b11d..52e49b7aa04 100644
--- a/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
+++ b/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
@@ -224,7 +224,7 @@ const CreateProject = () => {
<div className="py-2">
<Input
id="dbPass"
- label="Database Password"
+ label="Database password"
type="password"
placeholder="Type in a strong password"
value={dbPass}
diff --git a/apps/studio/pages/new/[slug].tsx b/apps/studio/pages/new/[slug].tsx
index 1612259122d..fc11b85f88a 100644
--- a/apps/studio/pages/new/[slug].tsx
+++ b/apps/studio/pages/new/[slug].tsx
@@ -489,7 +489,7 @@ const Wizard: NextPageWithLayout = () => {
canCreateProject &&
additionalMonthlySpend > 0 && (
<div className="flex justify-between text-sm">
- <span>Additional Costs</span>
+ <span>Additional costs</span>
<div className="text-brand flex gap-1 items-center font-mono font-medium">
<span>${additionalMonthlySpend}/m</span>
<InfoTooltip side="top" className="max-w-[450px] p-0">
@@ -735,7 +735,7 @@ const Wizard: NextPageWithLayout = () => {
layout="horizontal"
label={
<div className="flex flex-col gap-y-4">
- <span>Compute Size</span>
+ <span>Compute size</span>
<div className="flex flex-col gap-y-2">
<Link
@@ -744,7 +744,7 @@ const Wizard: NextPageWithLayout = () => {
href="https://supabase.com/docs/guides/platform/compute-add-ons"
>
<div className="flex items-center space-x-2 opacity-75 hover:opacity-100 transition">
- <p className="text-sm m-0">Compute Add-Ons</p>
+ <p className="text-sm m-0">Compute add-ons</p>
<ExternalLink size={16} strokeWidth={1.5} />
</div>
</Link>
@@ -754,7 +754,7 @@ const Wizard: NextPageWithLayout = () => {
href="https://supabase.com/docs/guides/platform/manage-your-usage/compute"
>
<div className="flex items-center space-x-2 opacity-75 hover:opacity-100 transition">
- <p className="text-sm m-0">Compute Billing</p>
+ <p className="text-sm m-0">Compute billing</p>
<ExternalLink size={16} strokeWidth={1.5} />
</div>
</Link>
@@ -845,7 +845,7 @@ const Wizard: NextPageWithLayout = () => {
return (
<FormItemLayout
- label="Database Password"
+ label="Database password"
layout="horizontal"
description={
<>
@@ -926,7 +926,7 @@ const Wizard: NextPageWithLayout = () => {
<FormItemLayout
label="Custom Postgres version"
layout="horizontal"
- description="Specify a custom version of Postgres (Defaults to the latest). This is only applicable for local/staging projects"
+ description="Specify a custom version of Postgres (defaults to the latest). This is only applicable for local/staging projects."
>
<FormControl_Shadcn_>
<Input_Shadcn_