The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore/fix-table-editor-no-rows-state (#18604)
Joshen Lim067a4dd4c2d0
diff --git a/studio/components/grid/components/grid/Grid.tsx b/studio/components/grid/components/grid/Grid.tsxindex 33674daa99e..45da689639a 100644--- a/studio/components/grid/components/grid/Grid.tsx+++ b/studio/components/grid/components/grid/Grid.tsx@@ -157,7 +157,10 @@ export const Grid = memo(renderers={{renderRow: RowRenderer,noRowsFallback: (- <>+ // [Joshen] Temp fix with magic numbers till we find a better solution+ // RDG used to use flex, but with v7 they've moved to CSS grid and the+ // in built no rows fallback only takes the width of the CSS grid itself+ <div style={{ width: `calc(100vw - 255px - 55px)` }}>{isLoading && (<div className="p-2 col-span-full"><GenericSkeletonLoader />@@ -210,7 +213,7 @@ export const Grid = memo()}</>)}- </>+ </div>),}}rowKeyGetter={rowKeyGetter}diff --git a/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx b/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsxindex a3dc1c60bd3..0e54dac3d4c 100644--- a/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx+++ b/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx@@ -56,8 +56,8 @@ const UtilityTabResults = ({ id, isExecuting }: UtilityTabResultsProps) => {const hasHipaaAddon = subscriptionHasHipaaAddon(subscription)const isTimeout =- result?.error.message?.includes('canceling statement due to statement timeout') ||- result?.error.message?.includes('upstream request timeout')+ result?.error?.message?.includes('canceling statement due to statement timeout') ||+ result?.error?.message?.includes('upstream request timeout')if (isUtilityPanelCollapsed) return null