The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Updates
Terry Suttond4885df7f317
diff --git a/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx b/studio/components/interfaces/Home/ProjectList/ProjectCard.tsxindex 3af4a774a98..bf101db33cd 100644--- a/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx+++ b/studio/components/interfaces/Home/ProjectList/ProjectCard.tsx@@ -53,6 +53,7 @@ const ProjectCard = ({<li className="col-span-1 list-none"><CardButtonlinkHref={rewriteHref ? rewriteHref : `/project/${projectRef}`}+ containerHeightClassName="h-48"title={<div className="w-full justify-between space-y-1.5 px-6"><p className="flex-shrink truncate">{name}</p>diff --git a/studio/components/interfaces/Home/ProjectList/ProjectCardWarnings.tsx b/studio/components/interfaces/Home/ProjectList/ProjectCardWarnings.tsxindex 7ae429f8976..a07d41ff3b1 100644--- a/studio/components/interfaces/Home/ProjectList/ProjectCardWarnings.tsx+++ b/studio/components/interfaces/Home/ProjectList/ProjectCardWarnings.tsx@@ -102,7 +102,8 @@ const ProjectCardWarnings = ({ resourceWarnings }: ProjectCardWarningsProps) =><div><Alert_Shadcn_variant={isCritical ? 'destructive' : 'warning'}- className="border-r-0 border-l-0 rounded-none my-2 mb-2.5"+ className="border-0 rounded-none my-2 mb-2.5 [&>svg]:w-[28px]+[&>svg]:h-[28px] [&>svg]:p-1.5 [&>svg]:left-6 pl-6"><IconAlertTriangle strokeWidth={2} />diff --git a/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx b/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsxindex 1594655f2da..9a077356b21 100644--- a/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx+++ b/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx@@ -214,7 +214,7 @@ const InfrastructureActivity = () => {<div className="sticky top-32 space-y-6"><div className="space-y-1"><div className="flex items-center space-x-2">- <p className="text-base capitalize m-0">{attribute.name}</p>+ <h4 className="text-base capitalize m-0">{attribute.name}</h4></div><div className="grid gap-4">{attribute.description.split('\n').map((value, idx) => (diff --git a/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts b/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.tsindex 51855ae57ec..5e54f833199 100644--- a/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts+++ b/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts@@ -3,13 +3,13 @@ export const RESOURCE_WARNING_MESSAGES = {content: {warning: {title:- 'Your project is currently in readonly mode and is no longer accepting write requests',+ 'Your project is currently in read-only mode and is no longer accepting write requests',description:'You will need to manually override read-only mode and reduce the disk size to below 95%.',},critical: {title:- 'Your project is currently in readonly mode and is no longer accepting write requests',+ 'Your project is currently in read-only mode and is no longer accepting write requests',description:'You will need to manually override read-only mode and reduce the disk size to below 95%.',},@@ -22,15 +22,14 @@ export const RESOURCE_WARNING_MESSAGES = {content: {warning: {title:- 'Your project is about to deplete its Disk IO Budget, and your instance may become unresponsive once fully exhausted',+ 'Your project is about to deplete its Disk IO Budget, and may become unresponsive once fully exhausted',description:- 'You will need to either optimize your performance, or upgrade your compute to a larger instance.',+ 'You will need to either optimize your performance, or upgrade your compute to a larger plan.',},critical: {- title:- 'Your project has depleted its Disk IO Budget, and your instance may become unresponsive',+ title: 'Your project has depleted its Disk IO Budget, and may become unresponsive',description:- 'You will need to either optimize your performance, or upgrade your compute to a larger instance.',+ 'You will need to either optimize your performance, or upgrade your compute to a larger plan.',},},docsUrl: 'https://supabase.com/docs/guides/platform/exhaust-disk-io',@@ -41,15 +40,14 @@ export const RESOURCE_WARNING_MESSAGES = {content: {warning: {title:- 'Your project is about to exhaust its disk space budget, and your instance may become unresponsive once fully exhausted',+ 'Your project is about to exhaust its disk space budget, and may become unresponsive once fully exhausted',description:- 'You can opt to increase your disk size up to 200GB if required on the database settings page.',+ 'You can opt to increase your disk size up to 200GB on the database settings page.',},critical: {- title:- 'Your project has exhausted its disk space budget, and your instance may become unresponsive',+ title: 'Your project has exhausted its disk space budget, and may become unresponsive',description:- 'You can opt to increase your disk size up to 200GB if required on the database settings page.',+ 'You can opt to increase your disk size up to 200GB on the database settings page.',},},docsUrl: 'https://supabase.com/docs/guides/platform/database-size#disk-management',@@ -59,15 +57,14 @@ export const RESOURCE_WARNING_MESSAGES = {cpu_exhaustion: {content: {warning: {- title:- "Your project is currently facing high CPU usage, and your instance's performance is affected",+ title: 'Your project is currently facing high CPU usage, and its performance is affected',description:'You will need to either optimize your performance or upgrade your compute to a larger instance',},critical: {- title: "Your project's CPU usage is at 100% and your instance's performance is affected",+ title: "Your project's CPU usage is at 100% and its performance is affected",description:- 'You will need to either optimize your performance or upgrade your compute to a larger instance',+ 'You will need to either optimize your performance or upgrade your compute to a larger plan',},},docsUrl: 'https://supabase.com/docs/guides/platform/exhaust-cpu',@@ -78,15 +75,14 @@ export const RESOURCE_WARNING_MESSAGES = {content: {warning: {title:- "Your project is currently facing high memory usage, and your instance's performance is affected",+ 'Your project is currently facing high memory usage, and its performance is affected',description:- 'You will need to either optimize your performance or upgrade your compute to a larger instance',+ 'You will need to either optimize your performance or upgrade your compute to a larger plan',},critical: {- title:- "Your project's memory usage is at 100%, and your instance's performance is affected",+ title: "Your project's memory usage is at 100%, and its performance is affected",description:- 'You will need to either optimize your performance or upgrade your compute to a larger instance',+ 'You will need to either optimize your performance or upgrade your compute to a larger plan',},},docsUrl: 'https://supabase.com/docs/guides/platform/exhaust-ram',@@ -97,13 +93,12 @@ export const RESOURCE_WARNING_MESSAGES = {content: {warning: {title:- "Your project is currently exhausting multiple resources, and your instance's performance is affected",+ 'Your project is currently exhausting multiple resources, and its performance is affected',description:"Check which resources are reaching their threshold on your project's usage page.",},critical: {- title:- "Your project has exhausted at least one resource, and your instance's performance is affected",+ title: 'Your project has exhausted at least one resource, and its performance is affected',description:"Check which resources have reached their threshold on your project's usage page.",},diff --git a/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsx b/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsxindex 76a9dd279db..e406b1baaa8 100644--- a/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsx+++ b/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.tsx@@ -110,7 +110,8 @@ const ResourceExhaustionWarningBanner = () => {return (<Alert_Shadcn_variant={isCritical ? 'destructive' : 'warning'}- className="border-l-0 border-r-0 rounded-none"+ className="border-l-0 border-r-0 rounded-none [&>svg]:left-6 pl-6 [&>svg]:w-[26px]+[&>svg]:h-[26px]"><IconAlertTriangle /><AlertTitle_Shadcn_>{title}</AlertTitle_Shadcn_>diff --git a/studio/data/usage/resource-warnings-query.ts b/studio/data/usage/resource-warnings-query.tsindex d7ecd7c350e..b1d56c12cfe 100644--- a/studio/data/usage/resource-warnings-query.ts+++ b/studio/data/usage/resource-warnings-query.ts@@ -8,6 +8,7 @@ import { components } from 'data/api'export async function getResourceWarnings(signal?: AbortSignal) {const { data, error } = await get(`/platform/projects-resource-warnings`, { signal })if (error) throw error+return data}