The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(studio): update downgrade survey to use 'what made you' framing (#43435)
Pamela Chia4a9455cb2f12
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsxindex 198c988faa2..a9decb09b3d 100644--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx@@ -1,7 +1,6 @@-import { MinusCircle, PauseCircle } from 'lucide-react'-import { getComputeSize, OrgProject } from 'data/projects/org-projects-infinite-query'import type { OrgSubscription, ProjectAddon } from 'data/subscriptions/types'+import { MinusCircle, PauseCircle } from 'lucide-react'import { useMemo } from 'react'import { plans as subscriptionsPlans } from 'shared-data/plans'import { Modal } from 'ui'diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/ExitSurveyModal.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/ExitSurveyModal.tsxindex d1d434d3aa8..fec46b51718 100644--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/ExitSurveyModal.tsx+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/ExitSurveyModal.tsx@@ -104,7 +104,7 @@ export const ExitSurveyModal = ({ visible, projects, onClose }: ExitSurveyModalP<Modal.Content><div className="space-y-4"><p className="text-sm text-foreground-light">- Share with us why you're downgrading your plan.+ What made you decide to downgrade your plan?</p><div className="space-y-8 mt-6"><div className="flex flex-wrap gap-2" data-toggle="buttons">diff --git a/apps/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectModal.tsx b/apps/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectModal.tsxindex 32b76175d8a..3a54b3e8baa 100644--- a/apps/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectModal.tsx+++ b/apps/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectModal.tsx@@ -1,17 +1,16 @@-import { useRouter } from 'next/router'-import { useEffect, useState } from 'react'-import { toast } from 'sonner'-import { LOCAL_STORAGE_KEYS } from 'common'import { CANCELLATION_REASONS } from 'components/interfaces/Billing/Billing.constants'import { TextConfirmModal } from 'components/ui/TextConfirmModalWrapper'import { useSendDowngradeFeedbackMutation } from 'data/feedback/exit-survey-send'-import { useProjectDeleteMutation } from 'data/projects/project-delete-mutation'import type { OrgProject } from 'data/projects/org-projects-infinite-query'+import { useProjectDeleteMutation } from 'data/projects/project-delete-mutation'import { useOrgSubscriptionQuery } from 'data/subscriptions/org-subscription-query'import { useLocalStorageQuery } from 'hooks/misc/useLocalStorage'import { useSelectedOrganizationQuery } from 'hooks/misc/useSelectedOrganization'import { useSelectedProjectQuery } from 'hooks/misc/useSelectedProject'+import { useRouter } from 'next/router'+import { useEffect, useState } from 'react'+import { toast } from 'sonner'import type { Organization } from 'types'import { Input } from 'ui'@@ -140,9 +139,7 @@ export const DeleteProjectModal = ({{!isFree && (<><div className="space-y-1">- <h4 className="text-base">- Help us improve by sharing why you're deleting your project.- </h4>+ <h4 className="text-base">What made you decide to delete your project?</h4></div><div className="space-y-4 pt-4"><div className="flex flex-wrap gap-2" data-toggle="buttons">