The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Apply scrollBeyondLastLine for CodeEditor in QueryEditor and Logs Explorer (#51082)
Joshen Limd6c81b66c999
diff --git a/apps/studio/components/interfaces/Explorer/QueryEditor/index.tsx b/apps/studio/components/interfaces/Explorer/QueryEditor/index.tsxindex f821a65419b..5ad7134764e 100644--- a/apps/studio/components/interfaces/Explorer/QueryEditor/index.tsx+++ b/apps/studio/components/interfaces/Explorer/QueryEditor/index.tsx@@ -478,6 +478,7 @@ export const QueryEditor = forwardRef<QueryEditorHandle, QueryEditorProps>(functoptions={{minimap: { enabled: false },padding: { top: 8 },+ scrollBeyondLastLine: true,}}onInputChange={(value) => onSqlChange(value ?? '')}onMount={(editor, monaco) => {diff --git a/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx b/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsxindex 5054f2bf66f..6a64b235f7e 100644--- a/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx+++ b/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx@@ -210,7 +210,6 @@ export const MonacoEditor = ({}}options={{placeholder,- lineDecorationsWidth: 0,fixedOverflowWidgets: false,lineNumbersMinChars: 5,scrollBeyondLastLine: true,diff --git a/apps/studio/pages/project/[ref]/logs/explorer/index.tsx b/apps/studio/pages/project/[ref]/logs/explorer/index.tsxindex f74291b0d8c..5828db9e7d3 100644--- a/apps/studio/pages/project/[ref]/logs/explorer/index.tsx+++ b/apps/studio/pages/project/[ref]/logs/explorer/index.tsx@@ -509,6 +509,7 @@ export const LogsExplorerPage: NextPageWithLayout = () => {defaultValue={editorValue}onInputChange={(v) => setEditorValue(v || '')}actions={{ runQuery: { enabled: true, callback: handleRun } }}+ options={{ scrollBeyondLastLine: true }}/>{rewriteProposal && (<div className="absolute inset-0 z-10 flex flex-col bg-studio">