From 08ca63ba97889cfd708fe4dabfdf7ed2ac79c71d Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Thu, 24 Feb 2022 14:08:37 +0800 Subject: [PATCH] Fix missing tooltip in table side panel editor --- .../TableEditor/ColumnManagement.tsx | 43 +++++++++++-------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx index bd348f6f356..e736545b4b7 100644 --- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx +++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx @@ -17,6 +17,7 @@ import { DroppableProvided, DraggableProvided, } from 'react-beautiful-dnd' +import * as Tooltip from '@radix-ui/react-tooltip' import Column from './Column' import InformationBox from 'components/ui/InformationBox' @@ -192,29 +193,37 @@ const ColumnManagement: FC = ({ {/* Drag handle */} {isNewRecord &&
}
-
- Name -
+
Name
-
- Type -
+
Type
-
- Default Value -
-
-
- -
-
+
Default Value
+ + + +
+ +
+
+ + +
+ + Can be either a value or a SQL expression + +
+
+
-
- Primary -
+
Primary
{/* Empty space */}