Skip to content

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

chore(studio): misc design polish (#42966)

Danny White1d46515edb9a
diff --git a/apps/studio/components/interfaces/Account/Preferences/ProfileInformation.tsx b/apps/studio/components/interfaces/Account/Preferences/ProfileInformation.tsx
index b5b3b9c7520..71494dec664 100644
--- a/apps/studio/components/interfaces/Account/Preferences/ProfileInformation.tsx
+++ b/apps/studio/components/interfaces/Account/Preferences/ProfileInformation.tsx
@@ -134,8 +134,8 @@ export const ProfileInformation = () => {
label="Primary email"
description={
profile?.is_sso_user
- ? 'Primary email is managed by your SSO provider and cannot be changed here.'
- : 'Primary email is used for account notifications.'
+ ? 'Managed by your SSO provider and cannot be changed here'
+ : 'Used for account notifications'
}
layout="flex-row-reverse"
>
@@ -173,8 +173,8 @@ export const ProfileInformation = () => {
label="Username"
description={
profile?.is_sso_user
- ? 'Username is managed by your SSO provider and cannot be changed here.'
- : 'Username appears as a display name throughout the dashboard.'
+ ? 'Managed by your SSO provider and cannot be changed here'
+ : 'Display name used across dashboard'
}
layout="flex-row-reverse"
>
diff --git a/apps/studio/components/interfaces/Integrations/DataApi/DataApiDisabledState.tsx b/apps/studio/components/interfaces/Integrations/DataApi/DataApiDisabledState.tsx
index ba316e61e4e..031d9640733 100644
--- a/apps/studio/components/interfaces/Integrations/DataApi/DataApiDisabledState.tsx
+++ b/apps/studio/components/interfaces/Integrations/DataApi/DataApiDisabledState.tsx
@@ -1,6 +1,6 @@
import { useParams } from 'common'
+import { InlineLink } from 'components/ui/InlineLink'
import { AlertCircle } from 'lucide-react'
-import Link from 'next/link'
import { Alert_Shadcn_, AlertDescription_Shadcn_, AlertTitle_Shadcn_ } from 'ui'
interface DataApiDisabledStateProps {
@@ -17,12 +17,9 @@ export const DataApiDisabledState = ({ description }: DataApiDisabledStateProps)
<AlertTitle_Shadcn_>Data API is disabled</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_>
Enable the Data API in the{' '}
- <Link
- href={`/project/${projectRef}/integrations/data_api/overview`}
- className="text-foreground underline hover:decoration-foreground-muted"
- >
+ <InlineLink href={`/project/${projectRef}/integrations/data_api/overview`}>
Overview
- </Link>{' '}
+ </InlineLink>{' '}
tab to {description}.
</AlertDescription_Shadcn_>
</Alert_Shadcn_>