diff --git a/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx b/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx index 8a8baaf7b25..bb65afb9882 100644 --- a/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx +++ b/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx @@ -1,15 +1,9 @@ import { zodResolver } from '@hookform/resolvers/zod' import { useConsentState } from 'common' -import { LOCAL_STORAGE_KEYS } from 'common/constants/local-storage' -import { ButtonTooltip } from 'components/ui/ButtonTooltip' -import { InlineLink } from 'components/ui/InlineLink' import { useSendResetMutation } from 'data/telemetry/send-reset-mutation' -import { useLocalStorageQuery } from 'hooks/misc/useLocalStorage' -import { X } from 'lucide-react' import { useForm } from 'react-hook-form' import { toast } from 'sonner' import { Card, CardContent, Form_Shadcn_, FormControl_Shadcn_, FormField_Shadcn_, Switch } from 'ui' -import { Admonition } from 'ui-patterns/admonition' import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout' import { PageSection, @@ -21,40 +15,6 @@ import { } from 'ui-patterns/PageSection' import * as z from 'zod' -export const PrivacyUpdateBanner = () => { - const [privacyUpdateAcknowledged, setPrivacyUpdateAcknowledged] = useLocalStorageQuery( - LOCAL_STORAGE_KEYS.PRIVACY_NOTICE_ACKNOWLEDGED, - false - ) - - if (privacyUpdateAcknowledged) return null - - return ( - - We’ve clarified how we use analytics, cookies, and advertising tools in our{' '} - privacy policy, effective - March 16, 2026. By continuing to use Supabase, you agree to the updated terms.{' '} - Contact us with any - questions.{' '} - - } - className="mb-10 relative" - > - } - className="absolute top-2 right-2 px-1" - onClick={() => setPrivacyUpdateAcknowledged(true)} - tooltip={{ content: { side: 'bottom', text: 'Dismiss' } }} - /> - - ) -} - const AnalyticsSchema = z.object({ telemetryEnabled: z.boolean(), }) diff --git a/apps/studio/pages/org/[slug]/index.tsx b/apps/studio/pages/org/[slug]/index.tsx index 09b3b5c78e3..e0c5945526d 100644 --- a/apps/studio/pages/org/[slug]/index.tsx +++ b/apps/studio/pages/org/[slug]/index.tsx @@ -1,5 +1,4 @@ import { useIsMFAEnabled } from 'common' -import { PrivacyUpdateBanner } from 'components/interfaces/Account/Preferences/AnalyticsSettings' import { ProjectList } from 'components/interfaces/Home/ProjectList/ProjectList' import { HomePageActions } from 'components/interfaces/HomePageActions' import DefaultLayout from 'components/layouts/DefaultLayout' @@ -21,7 +20,6 @@ const ProjectsPage: NextPageWithLayout = () => { return ( - {disableAccessMfa ? ( { - {orgNotFound && ( `table-editor-queue-operations-banner-dismissed-${ref}`, - PRIVACY_NOTICE_ACKNOWLEDGED: 'privacy-notice-acknowledged-2026-03', /** * COMMON