The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat: improve empty secrets description (#42467)
Kalleby Santos6e4aeed6d9f8
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsxindex c2384362183..e8c224d68e3 100644--- a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx@@ -17,6 +17,8 @@ import { GenericSkeletonLoader } from 'ui-patterns/ShimmeringLoader'import AddNewSecretForm from './AddNewSecretForm'import EdgeFunctionSecret from './EdgeFunctionSecret'import { EditSecretSheet } from './EditSecretSheet'+import { InlineLink } from '@/components/ui/InlineLink'+import { DOCS_URL } from '@/lib/constants'export const EdgeFunctionSecrets = () => {const { ref: projectRef } = useParams()@@ -158,8 +160,17 @@ export const EdgeFunctionSecrets = () => {<TableRow className="[&>td]:hover:bg-inherit"><TableCell colSpan={headers.length}><p className="text-sm text-foreground">No secrets created</p>- <p className="text-sm text-foreground-light">- There are no secrets associated with your project yet+ <p className="text-sm text-foreground-lighter">+ This project has no custom secrets yet.{' '}+ <code className="text-code-inline !text-foreground-lighter whitespace-nowrap">+ SUPABASE_*+ </code>{' '}+ <InlineLink+ href={`${DOCS_URL}/guides/functions/secrets#default-secrets`}+ >+ default secrets+ </InlineLink>{' '}+ are still available.</p></TableCell></TableRow>