mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
feat(orioledb): rename orioledb from Public Alpha to Public Beta in dashboard (#50975)
## Problem We need to rename orioledb in Dashboard. ## Solution - Update Studio copy/badges referencing OrioleDB from "Public Alpha" to "Public Beta" (project creation advanced config, restore-to-new-project, PITR empty state) - Remove the scheduled-backups block that hid backups for OrioleDB projects — OrioleDB now has WAL-G scheduled backups in beta, so that page should behave normally. PITR keeps its existing guard since PITR is not yet supported for OrioleDB. - Update the `useOrioleDb` telemetry property doc-comment to reflect the beta status - Update project-creation wizard test expectations/fixtures accordingly (`release_channel: 'beta'`) Marketing (`apps/www`) and docs (`apps/docs`) references to OrioleDB alpha status are being updated separately. <!-- ## Preview links If relevant, include links to changed pages for easy review access. Copy the preview base URL from the Vercel bot comment on this PR. Use the following table as an example template. | Site | Live | Preview | Search for | | -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------- | | WWW | [/blog/your-post](https://supabase.com/blog/your-post) | [/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post) | unique phrase from the change | | Docs | [/docs/guides/your-page](https://supabase.com/docs/guides/your-page) | [/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page) | unique phrase from the change | | Studio | [/dashboard](https://supabase.com/dashboard) | [/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard) | unique phrase from the change | | Design system | [/design-system](https://supabase.com/design-system) | [/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system) | unique phrase from the change | | UI library | [/library](https://supabase.com/library) | [/library](https://ui-library-git-branch-name-supabase.vercel.app/library) | unique phrase from the change | | Knowledge base | [/kb/guides/your-page](https://supabase.com/kb/guides/your-page) | [/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page) | unique phrase from the change | --> <!-- ## Additional context Optionally add any other context or screenshots. --> ## Review instructions ## Checklist Check all before review: - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [x] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs [style guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Updates** * OrioleDB is now labeled as being in public beta rather than public alpha, and project creation selects the beta release channel. * Restore-to-new-project and Point-in-Time Recovery notices clarify that these features are unavailable for OrioleDB projects. * OrioleDB projects now follow the standard eligibility checks and page flow for scheduled backups. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
1 parent
032c71c5bf
commit
bd9a0ff4e6
6 files changed
+9
-24
No files matched your search
+1
-1
@@ -130,7 +130,7 @@ export const RestoreToNewProject = () => {
|
||||
<Admonition
|
||||
type="default"
|
||||
title="Restoring to new projects are not available for OrioleDB"
|
||||
description="OrioleDB is currently in public alpha and projects created are strictly ephemeral with no database backups"
|
||||
description="OrioleDB is currently in public beta and restoring to a new project is unavailable on OrioleDB projects"
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ export const AdvancedConfiguration = ({ form }: AdvancedConfigurationProps) => {
|
||||
label={
|
||||
<>
|
||||
Postgres with OrioleDB
|
||||
<Badge variant="warning">Alpha</Badge>
|
||||
<Badge variant="warning">Beta</Badge>
|
||||
</>
|
||||
}
|
||||
description="Not recommended for production workloads"
|
||||
@@ -104,7 +104,7 @@ export const AdvancedConfiguration = ({ form }: AdvancedConfigurationProps) => {
|
||||
type="warning"
|
||||
className="rounded-t-none [&>div]:text-xs"
|
||||
title="OrioleDB is not production ready"
|
||||
description="Postgres with OrioleDB extension is currently in Public Alpha and not recommended for production usage yet."
|
||||
description="Postgres with OrioleDB extension is currently in Public Beta and not recommended for production usage yet."
|
||||
>
|
||||
<DocsButton className="mt-2" href={`${DOCS_URL}/guides/database/orioledb`} />
|
||||
</Admonition>
|
||||
|
||||
@@ -97,7 +97,7 @@ const PITR = () => {
|
||||
<Admonition
|
||||
type="default"
|
||||
title="Database backups are not available for OrioleDB"
|
||||
description="OrioleDB is currently in public alpha and projects created are strictly ephemeral with no database backups"
|
||||
description="OrioleDB is currently in public beta and Point-in-Time Recovery is unavailable on OrioleDB projects"
|
||||
>
|
||||
<DocsButton abbrev={false} className="mt-2" href={DOCS_URL} />
|
||||
</Admonition>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { PermissionAction } from '@supabase/shared-types/out/constants'
|
||||
import { useParams } from 'common'
|
||||
import { DatabaseBackup, Info } from 'lucide-react'
|
||||
import { Admonition } from 'ui-patterns/Admonition'
|
||||
import { PageContainer } from 'ui-patterns/PageContainer'
|
||||
import {
|
||||
PageHeader,
|
||||
@@ -18,13 +17,12 @@ import DatabaseBackupsNav from '@/components/interfaces/Database/Backups/Databas
|
||||
import { DatabaseLayout } from '@/components/layouts/DatabaseLayout/DatabaseLayout'
|
||||
import { DefaultLayout } from '@/components/layouts/DefaultLayout'
|
||||
import { AlertError } from '@/components/ui/AlertError'
|
||||
import { DocsButton } from '@/components/ui/DocsButton'
|
||||
import { HighAvailabilityDisabledEmptyState } from '@/components/ui/HighAvailability/HighAvailabilityDisabledEmptyState'
|
||||
import InformationBox from '@/components/ui/InformationBox'
|
||||
import { NoPermission } from '@/components/ui/NoPermission'
|
||||
import { useBackupsQuery } from '@/data/database/backups-query'
|
||||
import { useAsyncCheckPermissions } from '@/hooks/misc/useCheckPermissions'
|
||||
import { useIsHighAvailability, useIsOrioleDbInAws } from '@/hooks/misc/useSelectedProject'
|
||||
import { useIsHighAvailability } from '@/hooks/misc/useSelectedProject'
|
||||
import { DOCS_URL } from '@/lib/constants'
|
||||
import type { NextPageWithLayout } from '@/types'
|
||||
|
||||
@@ -63,7 +61,6 @@ const ScheduledBackups = () => {
|
||||
isSuccess,
|
||||
} = useBackupsQuery({ projectRef })
|
||||
|
||||
const isOrioleDbInAws = useIsOrioleDbInAws()
|
||||
const isHighAvailability = useIsHighAvailability()
|
||||
const isPitrEnabled = backups?.pitr_enabled
|
||||
|
||||
@@ -72,18 +69,6 @@ const ScheduledBackups = () => {
|
||||
'back_ups'
|
||||
)
|
||||
|
||||
if (isOrioleDbInAws) {
|
||||
return (
|
||||
<Admonition
|
||||
type="default"
|
||||
title="Database backups are not available for OrioleDB"
|
||||
description="OrioleDB is currently in public alpha and projects created are strictly ephemeral with no database backups"
|
||||
>
|
||||
<DocsButton abbrev={false} className="mt-2" href={`${DOCS_URL}`} />
|
||||
</Admonition>
|
||||
)
|
||||
}
|
||||
|
||||
if (isHighAvailability) {
|
||||
return (
|
||||
<HighAvailabilityDisabledEmptyState
|
||||
|
||||
@@ -132,7 +132,7 @@ const DEFAULT_AVAILABLE_VERSIONS: { available_versions: AvailableVersion[] } = {
|
||||
{ postgres_engine: '15', release_channel: 'ga', version: 'supabase-postgres-15.6.1.139' },
|
||||
{
|
||||
postgres_engine: '17-oriole',
|
||||
release_channel: 'alpha',
|
||||
release_channel: 'beta',
|
||||
version: 'supabase-postgres-17.9.9.999-orioledb',
|
||||
},
|
||||
],
|
||||
@@ -617,7 +617,7 @@ describe('project creation wizard', () => {
|
||||
).not.toBeInTheDocument()
|
||||
})
|
||||
|
||||
test('selecting orioledb shows the alpha warning and submits the oriole engine/channel', async () => {
|
||||
test('selecting orioledb shows the beta warning and submits the oriole engine/channel', async () => {
|
||||
mockWizardEndpoints()
|
||||
const onRequest = vi.fn()
|
||||
mockCreateProject(onRequest)
|
||||
@@ -638,7 +638,7 @@ describe('project creation wizard', () => {
|
||||
await waitFor(() => expect(onRequest).toHaveBeenCalled())
|
||||
const body = onRequest.mock.calls[0][0]
|
||||
expect(body.postgres_engine).toBe('17-oriole')
|
||||
expect(body.release_channel).toBe('alpha')
|
||||
expect(body.release_channel).toBe('beta')
|
||||
})
|
||||
|
||||
test('hides advanced configuration only while high availability is enabled', async () => {
|
||||
|
||||
Reference in new issue
Block a user