Skip to content

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

chore: remove Terms of Service banner (#37582)

Pamela Chia9bdde50f1f03
diff --git a/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx b/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx
index 694d94dd4ee..f9928a5b278 100644
--- a/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx
+++ b/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx
@@ -1,53 +1,8 @@
-import { ButtonTooltip } from 'components/ui/ButtonTooltip'
-import { X } from 'lucide-react'
+import { Toggle } from 'ui'
import { toast } from 'sonner'
-import { Alert_Shadcn_, AlertDescription_Shadcn_, AlertTitle_Shadcn_, Badge, Toggle } from 'ui'
-
import { useConsentState } from 'common'
-import { LOCAL_STORAGE_KEYS } from 'common/constants/local-storage'
import Panel from 'components/ui/Panel'
import { useSendResetMutation } from 'data/telemetry/send-reset-mutation'
-import { useLocalStorageQuery } from 'hooks/misc/useLocalStorage'
-
-export const TermsUpdateBanner = () => {
- const [termsUpdateAcknowledged, setTermsUpdateAcknowledged, { isSuccess }] = useLocalStorageQuery(
- LOCAL_STORAGE_KEYS.TERMS_OF_SERVICE_ACKNOWLEDGED,
- false
- )
-
- if (!isSuccess || termsUpdateAcknowledged) return null
-
- return (
- <Alert_Shadcn_ className="mb-4 relative">
- <AlertTitle_Shadcn_>
- <Badge variant="default" className="mr-2">
- NOTICE
- </Badge>
- Terms of Service Update – Effective Aug 1, 2025
- </AlertTitle_Shadcn_>
- <AlertDescription_Shadcn_>
- We’ve updated our{' '}
- <a href="https://supabase.com/terms" target="_blank" className="text hover:text-brand">
- Terms of Service
- </a>
- . The new terms take effect on August 1, 2025 and reflect changes to support our evolving
- business, legal requirements, and a new arbitration-based dispute resolution process.
- Questions? Contact{' '}
- <a href="mailto:[email protected]" target="_blank" className="text hover:text-brand">
- our team
- </a>
- .
- </AlertDescription_Shadcn_>
- <ButtonTooltip
- type="text"
- icon={<X />}
- className="absolute top-2 right-2 px-1"
- onClick={() => setTermsUpdateAcknowledged(true)}
- tooltip={{ content: { side: 'bottom', text: 'Dismiss' } }}
- />
- </Alert_Shadcn_>
- )
-}
export const AnalyticsSettings = () => {
const { hasAccepted, acceptAll, denyAll, categories } = useConsentState()
diff --git a/apps/studio/pages/org/[slug]/index.tsx b/apps/studio/pages/org/[slug]/index.tsx
index df017d02ba5..7e8a9767a98 100644
--- a/apps/studio/pages/org/[slug]/index.tsx
+++ b/apps/studio/pages/org/[slug]/index.tsx
@@ -12,7 +12,6 @@ import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization'
import { PROJECT_STATUS } from 'lib/constants'
import type { NextPageWithLayout } from 'types'
import { Admonition } from 'ui-patterns'
-import { TermsUpdateBanner } from 'components/interfaces/Account/Preferences/AnalyticsSettings'
const ProjectsPage: NextPageWithLayout = () => {
const org = useSelectedOrganization()
@@ -39,7 +38,6 @@ const ProjectsPage: NextPageWithLayout = () => {
</Admonition>
) : (
<div>
- <TermsUpdateBanner />
<HomePageActions
search={search}
setSearch={setSearch}
diff --git a/apps/studio/pages/organizations.tsx b/apps/studio/pages/organizations.tsx
index e5513c1ca5d..10e86ceb414 100644
--- a/apps/studio/pages/organizations.tsx
+++ b/apps/studio/pages/organizations.tsx
@@ -23,7 +23,6 @@ import {
Skeleton,
} from 'ui'
import { Input } from 'ui-patterns/DataInputs/Input'
-import { TermsUpdateBanner } from 'components/interfaces/Account/Preferences/AnalyticsSettings'
const OrganizationsPage: NextPageWithLayout = () => {
const router = useRouter()
@@ -64,7 +63,6 @@ const OrganizationsPage: NextPageWithLayout = () => {
</AlertDescription_Shadcn_>
</Alert_Shadcn_>
)}
- <TermsUpdateBanner />
<ScaffoldTitle>Your Organizations</ScaffoldTitle>
{organizations.length === 0 && orgNotFound && (
diff --git a/packages/common/constants/local-storage.ts b/packages/common/constants/local-storage.ts
index a374533acc3..449ea259bb9 100644
--- a/packages/common/constants/local-storage.ts
+++ b/packages/common/constants/local-storage.ts
@@ -18,7 +18,6 @@ export const LOCAL_STORAGE_KEYS = {
NEW_LAYOUT_NOTICE_ACKNOWLEDGED: 'new-layout-notice-acknowledge',
TABS_INTERFACE_ACKNOWLEDGED: 'tabs-interface-acknowledge',
- TERMS_OF_SERVICE_ACKNOWLEDGED: 'terms-of-service-acknowledged',
AI_ASSISTANT_MCP_OPT_IN: 'ai-assistant-mcp-opt-in',
DASHBOARD_HISTORY: (ref: string) => `dashboard-history-${ref}`,