Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Remove oriole realtime callout (#30758)

Joshen Lima732f4f6a767
diff --git a/apps/studio/components/interfaces/Realtime/Inspector/NoChannelEmptyState.tsx b/apps/studio/components/interfaces/Realtime/Inspector/NoChannelEmptyState.tsx
index 25be0511733..342aca9b110 100644
--- a/apps/studio/components/interfaces/Realtime/Inspector/NoChannelEmptyState.tsx
+++ b/apps/studio/components/interfaces/Realtime/Inspector/NoChannelEmptyState.tsx
@@ -1,11 +1,7 @@
import { DocsButton } from 'components/ui/DocsButton'
-import { useIsOrioleDb } from 'hooks/misc/useSelectedProject'
import { cn } from 'ui'
-import { Admonition } from 'ui-patterns'
const NoChannelEmptyState = () => {
- const isOrioleDb = useIsOrioleDb()
-
return (
<div className="border bg-studio border-border rounded-md justify-start items-center flex flex-col w-10/12 relative">
<div className="w-full px-5 py-4 items-center gap-4 inline-flex border-b rounded-t-md">
@@ -17,28 +13,13 @@ const NoChannelEmptyState = () => {
</p>
</div>
</div>
- <div
- className={cn(
- 'w-full px-5 py-4 items-center gap-4 inline-flex',
- isOrioleDb ? '' : 'rounded-b-md'
- )}
- >
+ <div className={cn('w-full px-5 py-4 items-center gap-4 inline-flex')}>
<div className="grow flex-col flex">
<p className="text-foreground">Not sure what to do?</p>
<p className="text-foreground-lighter text-xs">Browse our documentation</p>
</div>
<DocsButton href="https://supabase.com/docs/guides/realtime" />
</div>
- {/* [Joshen] This is temporary as a bug was identified that might not be patched on time for release */}
- {/* [Joshen] Just making a simple callout as this is intended to be patched soon either way, not a long term limitation */}
- {isOrioleDb && (
- <Admonition
- type="warning"
- className="mb-0 rounded-none border-0 border-t rounded-b-md [&>div]:text-xs"
- title="Realtime database changes are not available"
- description="This is only a temporary limitation for projects that are using Postgres with OrioleDB."
- />
- )}
</div>
)
}