From d6d419a12e93e5de222bb51366e92b24aa90df15 Mon Sep 17 00:00:00 2001
From: Gildas Garcia <1122076+djhi@users.noreply.github.com>
Date: Thu, 12 Mar 2026 08:58:26 +0100
Subject: [PATCH] fix: improve table editor truncated texts display (#43630)
Fixes #41579
Supersedes #42342 and #41580
## Problem
In the table editor, when the column type is long, it is truncated which
makes it hard to disambiguate `timestamp` from `timestampz` for
instance.
## Solution
- make the table editor a bit larger
- add a tooltip on the column type input
- I also added a tooltip on the default value input which suffers from
the same issue
Note: the column name already have a tooltip
---
.../SidePanelEditor/ColumnEditor/ColumnType.tsx | 3 ++-
.../SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx | 1 +
.../SidePanelEditor/TableEditor/TableEditor.tsx | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx b/apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx
index 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={