mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
## Context
As per PR title - we're bringing Database Connections out of feature
preview and it'll live on the dashboard by default 🙂
Also deprecating the existing Ongoing queries panel which Database
Connections now supercedes.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Database Connections is now available without feature-preview
activation.
* The SQL editor’s “View running queries” option now links directly to
Database Connections.
* **Bug Fixes**
* Query cancellation and session termination now refresh database
activity data.
* **Removed**
* Removed the in-editor ongoing queries panel and its termination
controls.
* Removed the Database Connections promotional banner, preview
messaging, settings, and related telemetry.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
20 lines
465 B
TypeScript
20 lines
465 B
TypeScript
import { ReactNode } from 'react'
|
|
|
|
import { SqlEditorManualSaveNoticeDialog } from '@/components/interfaces/SQLEditor/SqlEditorManualSaveNoticeDialog'
|
|
import { withAuth } from '@/hooks/misc/withAuth'
|
|
|
|
export interface SQLEditorLayoutProps {
|
|
children: ReactNode
|
|
}
|
|
|
|
const SQLEditorLayout = ({ children }: SQLEditorLayoutProps) => {
|
|
return (
|
|
<>
|
|
{children}
|
|
<SqlEditorManualSaveNoticeDialog />
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default withAuth(SQLEditorLayout)
|