The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: improve table editor truncated texts display (#43630)
Gildas Garciad6d419a12e93
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsxindex 860e8ab29fb..5d9588cc8ba 100644--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx@@ -177,11 +177,12 @@ const ColumnType = ({aria-controls={listboxId}className={cn('w-full justify-between', !value && 'text-foreground-lighter')}iconRight={<ChevronsUpDown className="ml-2 h-4 w-4 shrink-0 opacity-50" />}+ title={value && value.replaceAll('"', '')}>{value ? (<div className="flex gap-2 items-center"><span>{inferIcon(getOptionByName(value)?.type ?? '')}</span>- {value.replaceAll('"', '')}+ <span className="block truncate">{value.replaceAll('"', '')}</span></div>) : ('Choose a column type...'diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsxindex 7e9f642e6e0..6021d099399 100644--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx@@ -92,6 +92,7 @@ const InputWithSuggestions = ({inputClassName="pr-10"type="text"value={value}+ title={value}onChange={onInputChange}data-testid={dataTestId}actions={diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsxindex 5c10d88a481..9ff0aa34781 100644--- a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx+++ b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx@@ -337,7 +337,7 @@ export const TableEditor = ({return (<SidePaneldata-testid="table-editor-side-panel"- size="large"+ size="xlarge"key="TableEditor"visible={visible}header={<HeaderTitle schema={selectedSchema} table={table} isDuplicating={isDuplicating} />}