The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Revert "Temp block new project creation"
Div Arora3000c3bbe35f
diff --git a/studio/components/interfaces/Home/ProjectList/PausedProjectCard.tsx b/studio/components/interfaces/Home/ProjectList/PausedProjectCard.tsxindex 99cf9a9ae5f..b84afbc1790 100644--- a/studio/components/interfaces/Home/ProjectList/PausedProjectCard.tsx+++ b/studio/components/interfaces/Home/ProjectList/PausedProjectCard.tsx@@ -1,6 +1,5 @@import { FC } from 'react'import { Typography, Badge, Button } from '@supabase/ui'-import * as Tooltip from '@radix-ui/react-tooltip'import { Project } from 'types'@@ -37,33 +36,9 @@ const PausedProjectCard: FC<Props> = ({</Badge></div><div className="flex items-center space-x-2">- <Tooltip.Root delayDuration={0}>- <Tooltip.Trigger>- <Button size="tiny" onClick={() => {}}>- Restore- </Button>- </Tooltip.Trigger>- <Tooltip.Content side="top">- <Tooltip.Arrow className="radix-tooltip-arrow" />- <div- className={[- 'shadow px-2 py-1 rounded border',- 'bg-white flex flex-col space-y-1 items-center justify-center',- 'dark:bg-gray-800 dark:border-gray-700',- ].join(' ')}- >- <Typography.Text small>- Sorry! New projects cannot be created at the moment.{' '}- </Typography.Text>- <Typography.Text small>Check status.supabase.com for updates!</Typography.Text>- </div>- </Tooltip.Content>- </Tooltip.Root>-- {/* TODO: Revert back after incident is resolved */}- {/* <Button size="tiny" onClick={() => onSelectRestore()}>+ <Button size="tiny" onClick={() => onSelectRestore()}>Restore- </Button> */}+ </Button><Button size="tiny" type="outline" onClick={() => onSelectDelete()}>Delete</Button>diff --git a/studio/pages/new/[slug].tsx b/studio/pages/new/[slug].tsxindex f4ab21f5e35..3bcf9db40a1 100644--- a/studio/pages/new/[slug].tsx+++ b/studio/pages/new/[slug].tsx@@ -8,7 +8,6 @@ import { debounce, isUndefined, values } from 'lodash'import { toJS } from 'mobx'import { observer } from 'mobx-react-lite'import { Button, Typography, Listbox, IconUsers, IconAlertCircle } from '@supabase/ui'-import * as Tooltip from '@radix-ui/react-tooltip'import { API_URL } from 'lib/constants'import { post } from 'lib/common/fetch'@@ -207,38 +206,13 @@ export const Wizard = observer(() => {<Typography.Text type="secondary" small>You can rename your project later</Typography.Text>-- <Tooltip.Root delayDuration={0}>- <Tooltip.Trigger>- <Button onClick={() => {}} loading={newProjectedLoading} disabled={true}>- Create new project- </Button>- </Tooltip.Trigger>- <Tooltip.Content side="top">- <Tooltip.Arrow className="radix-tooltip-arrow" />- <div- className={[- 'shadow px-2 py-1 rounded border',- 'bg-white flex flex-col space-y-1 items-center justify-center',- 'dark:bg-gray-800 dark:border-gray-700',- ].join(' ')}- >- <Typography.Text small>- Sorry! New projects cannot be created at the moment.{' '}- </Typography.Text>- <Typography.Text small>Check status.supabase.com for updates!</Typography.Text>- </div>- </Tooltip.Content>- </Tooltip.Root>-- {/* TODO: Revert back after incident is resolved */}- {/* <Button+ <ButtononClick={onClickNext}loading={newProjectedLoading}disabled={newProjectedLoading || !canSubmit}>Create new project- </Button> */}+ </Button></div></div>}diff --git a/studio/pages/vercel/setupProject.tsx b/studio/pages/vercel/setupProject.tsxindex d5706894474..7c4ae8ef073 100644--- a/studio/pages/vercel/setupProject.tsx+++ b/studio/pages/vercel/setupProject.tsx@@ -6,7 +6,6 @@ import { makeAutoObservable } from 'mobx'import { debounce } from 'lodash'import { Button, Typography } from '@supabase/ui'import { Dictionary } from '@supabase/grid'-import * as Tooltip from '@radix-ui/react-tooltip'import { useStore } from 'hooks'import { post } from 'lib/common/fetch'@@ -331,34 +330,9 @@ const CreateProject = observer(() => {</Typography.Text></div></div>-- <Tooltip.Root delayDuration={0}>- <Tooltip.Trigger>- <Button disabled={true} loading={false} onClick={() => {}}>- Create project- </Button>- </Tooltip.Trigger>- <Tooltip.Content side="top">- <Tooltip.Arrow className="radix-tooltip-arrow" />- <div- className={[- 'shadow px-2 py-1 rounded border',- 'bg-white flex flex-col space-y-1 items-center justify-center',- 'dark:bg-gray-800 dark:border-gray-700',- ].join(' ')}- >- <Typography.Text small>- Sorry! New projects cannot be created at the moment.{' '}- </Typography.Text>- <Typography.Text small>Check status.supabase.com for updates!</Typography.Text>- </div>- </Tooltip.Content>- </Tooltip.Root>-- {/* TODO: Revert back after incident is resolved */}- {/* <Button disabled={loading || !canSubmit} loading={loading} onClick={onCreateProject}>+ <Button disabled={loading || !canSubmit} loading={loading} onClick={onCreateProject}>Create project- </Button> */}+ </Button></div>)})