This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch explore_left_metadata_type
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 023ab9464a81030889cfd92c634b101eb2ea64b1
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Fri Oct 11 17:49:48 2024 -0700

    fix(explore): column data type tooltip format
    
    Minor visual tweak to add a column and a space inside the
    Explore -> LeftPanelDatasetView -> Column datatype tooltip
---
 .../superset-ui-chart-controls/src/components/labelUtils.tsx   | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git 
a/superset-frontend/packages/superset-ui-chart-controls/src/components/labelUtils.tsx
 
b/superset-frontend/packages/superset-ui-chart-controls/src/components/labelUtils.tsx
index 66b25416f8..03af5c13e8 100644
--- 
a/superset-frontend/packages/superset-ui-chart-controls/src/components/labelUtils.tsx
+++ 
b/superset-frontend/packages/superset-ui-chart-controls/src/components/labelUtils.tsx
@@ -55,8 +55,7 @@ const TooltipSection = ({
   text: ReactNode;
 }) => (
   <TooltipSectionWrapper>
-    <TooltipSectionLabel>{label}</TooltipSectionLabel>
-    <span>{text}</span>
+    <TooltipSectionLabel>{label}</TooltipSectionLabel>: <span>{text}</span>
   </TooltipSectionWrapper>
 );
 
@@ -71,12 +70,7 @@ export const getColumnTypeTooltipNode = (column: 
ColumnMeta): ReactNode => {
     return null;
   }
 
-  return (
-    <TooltipSection
-      label={t('Column datatype')}
-      text={column.type.toLowerCase()}
-    />
-  );
+  return <TooltipSection label={t('Column type')} text={column.type} />;
 };
 
 export const getColumnTooltipNode = (

Reply via email to