diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx index 5e9dadca321..0c78de65c91 100644 --- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx +++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingSettings.tsx @@ -1,4 +1,4 @@ -import { useNewLayout } from 'components/interfaces/App/FeaturePreview/FeaturePreviewContext' +import { useIsNewLayoutEnabled } from 'components/interfaces/App/FeaturePreview/FeaturePreviewContext' import { ScaffoldContainer, ScaffoldContainerLegacy, @@ -32,7 +32,7 @@ const BillingSettings = () => { 'billing:invoices', ]) - const newLayoutPreview = useNewLayout() + const newLayoutPreview = useIsNewLayoutEnabled() const org = useSelectedOrganization() const { data: subscription } = useOrgSubscriptionQuery({ orgSlug: org?.slug }) diff --git a/apps/studio/components/interfaces/Support/SupportFormV2.tsx b/apps/studio/components/interfaces/Support/SupportFormV2.tsx index 68617daa36d..71c6976699f 100644 --- a/apps/studio/components/interfaces/Support/SupportFormV2.tsx +++ b/apps/studio/components/interfaces/Support/SupportFormV2.tsx @@ -1,6 +1,6 @@ import { zodResolver } from '@hookform/resolvers/zod' import * as Sentry from '@sentry/nextjs' -import { ChevronRight, ExternalLink, Loader2, Mail, Plus, X } from 'lucide-react' +import { ChevronRight, ExternalLink, Mail, Plus, X } from 'lucide-react' import Link from 'next/link' import { ChangeEvent, useEffect, useMemo, useRef, useState } from 'react' import { SubmitHandler, useForm } from 'react-hook-form' @@ -112,7 +112,7 @@ export const SupportFormV2 = ({ setSentCategory, setSelectedProject }: SupportFo subject: '', message: '', affectedServices: '', - allowSupportAccess: false, + allowSupportAccess: true, } const form = useForm>({ @@ -685,60 +685,78 @@ export const SupportFormV2 = ({ setSentCategory, setSelectedProject }: SupportFo ( - + render={({ field }) => { + return ( + - - -

- More information about temporary access -

-
+ + Allow support access to your project + + Recommended - -

- By enabling this, you grant permission for our support team to access your - project temporarily and, if applicable, to use AI tools to assist in - diagnosing and resolving issues. This access may involve analyzing - database configurations, query performance, and other relevant data to - expedite troubleshooting and enhance support accuracy. We are committed to - maintaining strict data privacy and security standards in all support - activities.{' '} - + + Human support and AI diagnostic access. + + + - Privacy Policy - -

-
- - } - > - -
- )} + + More information + + +

+ By enabling this, you grant permission for our support team to access + your project temporarily and, if applicable, to use AI tools to assist + in diagnosing and resolving issues. This access may involve analyzing + database configurations, query performance, and other relevant data to + expedite troubleshooting and enhance support accuracy. +

+

+ We are committed to maintaining strict data privacy and security + standards in all support activities.{' '} + + Privacy Policy + +

+
+ + + } + > + +
+ ) + }} /> + )} -
+