The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: Support requests - Update allow access wording (#30540)
Carel de Waald44b7a1e4421
diff --git a/apps/studio/components/interfaces/Support/SupportFormV2.tsx b/apps/studio/components/interfaces/Support/SupportFormV2.tsxindex 360dacc27c1..368b614b8e1 100644--- a/apps/studio/components/interfaces/Support/SupportFormV2.tsx+++ b/apps/studio/components/interfaces/Support/SupportFormV2.tsx@@ -1,7 +1,7 @@import { zodResolver } from '@hookform/resolvers/zod'import * as Sentry from '@sentry/nextjs'import { useSupabaseClient } from '@supabase/auth-helpers-react'-import { ExternalLink, Loader2, Mail, Plus, X } from 'lucide-react'+import { ChevronDown, ExternalLink, Loader2, Mail, Plus, X } from 'lucide-react'import Link from 'next/link'import { ChangeEvent, useEffect, useRef, useState } from 'react'import { SubmitHandler, useForm } from 'react-hook-form'@@ -23,6 +23,9 @@ import {Button,Checkbox_Shadcn_,cn,+ Collapsible_Shadcn_,+ CollapsibleContent_Shadcn_,+ CollapsibleTrigger_Shadcn_,Form_Shadcn_,FormControl_Shadcn_,FormField_Shadcn_,@@ -342,7 +345,9 @@ export const SupportFormV2 = ({ setSentCategory, setSelectedProject }: SupportFo<SelectContent_Shadcn_><SelectGroup_Shadcn_>{organizations?.map((org) => (- <SelectItem_Shadcn_ value={org.slug}>{org.name}</SelectItem_Shadcn_>+ <SelectItem_Shadcn_ key={org.slug} value={org.slug}>+ {org.name}+ </SelectItem_Shadcn_>))}{isSuccessOrganizations && (organizations ?? []).length === 0 && (<SelectItem_Shadcn_ value="no-org">@@ -378,7 +383,7 @@ export const SupportFormV2 = ({ setSentCategory, setSelectedProject }: SupportFo<SelectContent_Shadcn_><SelectGroup_Shadcn_>{projects?.map((project) => (- <SelectItem_Shadcn_ value={project.ref as string}>+ <SelectItem_Shadcn_ key={project.ref} value={project.ref as string}>{project.name}</SelectItem_Shadcn_>))}@@ -425,7 +430,7 @@ export const SupportFormV2 = ({ setSentCategory, setSelectedProject }: SupportFo<SelectContent_Shadcn_><SelectGroup_Shadcn_>{CATEGORY_OPTIONS.map((option) => (- <SelectItem_Shadcn_ value={option.value}>+ <SelectItem_Shadcn_ key={option.value} value={option.value}>{option.label}<span className="block text-xs text-foreground-lighter">{option.description}@@ -458,7 +463,7 @@ export const SupportFormV2 = ({ setSentCategory, setSelectedProject }: SupportFo<SelectContent_Shadcn_><SelectGroup_Shadcn_>{SEVERITY_OPTIONS.map((option) => (- <SelectItem_Shadcn_ value={option.value}>+ <SelectItem_Shadcn_ key={option.value} value={option.value}>{option.label}<span className="block text-xs text-foreground-lighter">{option.description}@@ -554,7 +559,7 @@ export const SupportFormV2 = ({ setSentCategory, setSelectedProject }: SupportFo<SelectContent_Shadcn_><SelectGroup_Shadcn_>{CLIENT_LIBRARIES.map((option) => (- <SelectItem_Shadcn_ value={option.language}>+ <SelectItem_Shadcn_ key={option.language} value={option.language}>{option.language}</SelectItem_Shadcn_>))}@@ -629,7 +634,37 @@ export const SupportFormV2 = ({ setSentCategory, setSelectedProject }: SupportFolayout="flex"className={cn(CONTAINER_CLASSES)}label="Allow Supabase Support to access your project temporarily"- description="In some cases, we may require temporary access to your project to complete troubleshooting, or to answer questions related specifically to your project"+ description={+ <>+ <Collapsible_Shadcn_>+ <CollapsibleTrigger_Shadcn_ className="flex items-center gap-x-2 [&[data-state=open]>svg]:!-rotate-180">+ More information about temporary access+ <ChevronDown+ className="transition-transform duration-200"+ strokeWidth={1.5}+ size={14}+ />+ </CollapsibleTrigger_Shadcn_>+ <CollapsibleContent_Shadcn_>+ By checking this box, 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.{' '}+ <Link+ target="_blank"+ rel="noreferrer noopener"+ href="https://supabase.com/privacy"+ className="text-foreground-light underline hover:text-foreground underline-offset-2 transition"+ >+ Privacy Policy+ </Link>+ </CollapsibleContent_Shadcn_>+ </Collapsible_Shadcn_>+ </>+ }><FormControl_Shadcn_><Checkbox_Shadcn_diff --git a/apps/studio/pages/support/new.tsx b/apps/studio/pages/support/new.tsxindex c116e64de8b..27ea6af0dde 100644--- a/apps/studio/pages/support/new.tsx+++ b/apps/studio/pages/support/new.tsx@@ -26,7 +26,7 @@ const SupportPage = () => {return (<div className="relative flex overflow-y-auto overflow-x-hidden"><div className="mx-auto my-8 max-w-2xl w-full px-4 lg:px-6">- <div className="space-y-12 py-8">+ <div className="flex flex-col gap-y-8 py-8"><div className="flex flex-col sm:flex-row justify-between items-start sm:items-center gap-y-2"><div className="flex items-center space-x-3"><SVG src={`${BASE_PATH}/img/supabase-logo.svg`} className="h-4 w-4" />@@ -97,7 +97,7 @@ const SupportPage = () => {<InformationBoxtitle="Having trouble submitting the form?"description={- <div className="space-y-4">+ <div className="flex flex-col gap-y-4"><p className="flex items-center gap-x-1">Email us directly at{' '}<Link