The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
slight improvements
Kevin Grüneberg62b42c4959ce
diff --git a/studio/components/interfaces/BillingV2/Usage/SectionContent.tsx b/studio/components/interfaces/BillingV2/Usage/SectionContent.tsxindex b52b0983efd..1d2d8f269e9 100644--- a/studio/components/interfaces/BillingV2/Usage/SectionContent.tsx+++ b/studio/components/interfaces/BillingV2/Usage/SectionContent.tsx@@ -20,7 +20,7 @@ const SectionContent = ({<div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 py-16"><div className="grid grid-cols-12 gap-6"><div className="col-span-12 lg:col-span-5">- <div className="sticky top-16 space-y-6">+ <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">{name}</p>diff --git a/studio/components/interfaces/BillingV2/Usage/SectionHeader.tsx b/studio/components/interfaces/BillingV2/Usage/SectionHeader.tsxindex 4643162eabb..6b2b35532b1 100644--- a/studio/components/interfaces/BillingV2/Usage/SectionHeader.tsx+++ b/studio/components/interfaces/BillingV2/Usage/SectionHeader.tsx@@ -7,7 +7,7 @@ const SectionHeader = ({ title, description }: SectionHeaderProps) => {return (<div className="border-b"><div className="1xl:px-28 mx-auto flex flex-col gap-10 px-5 lg:px-16 2xl:px-32 py-16">- <div className="sticky top-16">+ <div><p className="text-xl">{title}</p><p className="text-sm text-scale-1000">{description}</p></div>diff --git a/studio/components/interfaces/BillingV2/Usage/Usage.tsx b/studio/components/interfaces/BillingV2/Usage/Usage.tsxindex fe825f007de..00c55ffd279 100644--- a/studio/components/interfaces/BillingV2/Usage/Usage.tsx+++ b/studio/components/interfaces/BillingV2/Usage/Usage.tsx@@ -223,15 +223,9 @@ const Usage = () => {</div></div>- {/*- [Joshen] Could potentially run a map here based on USAGE_CATEGORIES, rather than defining each section- but thinking it's gonna "cover up" too much details and make it harder to add attribute specific components- e.g for database size, we also need to show disk volume size. Not to mention that are little nuances across- each attribute RE formatting (bytes vs locale string)- */}<InViewas="div"- id="infrastructure"+ threshold={0.6}onChange={(inView, entry) => inView && setActiveTab('infra')}><div id="infrastructure" ref={infrastructureRef}>@@ -240,7 +234,7 @@ const Usage = () => {</InView><InViewas="div"- id="bandwidth"+ threshold={0.6}onChange={(inView, entry) => inView && setActiveTab('bandwidth')}><div id="bandwidth" ref={bandwidthRef}>@@ -254,7 +248,7 @@ const Usage = () => {</InView><InViewas="div"- id="size_and_counts"+ threshold={0.6}onChange={(inView, entry) => inView && setActiveTab('sizeCount')}><div id="size_and_counts" ref={sizeAndCountsRef}>@@ -268,7 +262,7 @@ const Usage = () => {</InView><InViewas="div"- id="activity"+ threshold={0.3}onChange={(inView, entry) => inView && setActiveTab('activity')}><div id="activity" ref={activityRef}>