@@ -34,6 +34,7 @@ import {
34
34
Chip ,
35
35
Collapse
36
36
} from '@mui/material' ;
37
+
37
38
import DeleteIcon from '@mui/icons-material/Delete' ;
38
39
import UploadFileIcon from '@mui/icons-material/UploadFile' ;
39
40
import CloseIcon from '@mui/icons-material/Close' ;
@@ -570,7 +571,8 @@ export const DBTableSelectionDialog: React.FC<{ buttonElement: any }> = function
570
571
</ IconButton >
571
572
</ Tooltip >
572
573
</ Typography >
573
- { dbTables . length == 0 && < Typography variant = "caption" sx = { { color : "lightgray" , p : 2 , fontStyle : "italic" } } > no tables available</ Typography > }
574
+ { dbTables . length == 0 &&
575
+ < Typography variant = "caption" sx = { { color : "lightgray" , p : 2 , fontStyle : "italic" } } > no tables available</ Typography > }
574
576
{ dbTables . map ( ( t , i ) => (
575
577
< Tab
576
578
key = { t . name }
@@ -598,7 +600,7 @@ export const DBTableSelectionDialog: React.FC<{ buttonElement: any }> = function
598
600
value = { selectedTabKey }
599
601
sx = { { py : 1 } }
600
602
>
601
- < Typography variant = "caption" sx = { { color : "text.secondary" , fontWeight : "bold" , px : 1 } } > load external data</ Typography >
603
+ < Typography variant = "caption" sx = { { color : "text.secondary" , fontWeight : "bold" , px : 1 } } > connect external data</ Typography >
602
604
{ [ "mysql" , "kusto" , "file upload" ] . map ( ( dataLoaderType , i ) => (
603
605
< Tab
604
606
key = { `dataLoader:${ dataLoaderType } ` }
@@ -620,8 +622,8 @@ export const DBTableSelectionDialog: React.FC<{ buttonElement: any }> = function
620
622
< TabPanel key = { "" } sx = { { width : 960 , maxWidth : '100%' } } show = { selectedTabKey === '' } >
621
623
< Typography variant = "caption" sx = { { color : "text.secondary" , fontWeight : "bold" , px : 1 } } > select a table or import data</ Typography >
622
624
</ TabPanel >
623
- < TabPanel key = { `dataLoader:file upload` } sx = { { width : 960 , maxWidth : '100%' } } show = { selectedTabKey === 'dataLoader:file upload' } >
624
- { uploadFileButton ( < Typography component = "span" fontSize = { 12 } > { isUploading ? 'uploading...' : 'upload file' } </ Typography > ) }
625
+ < TabPanel key = { `dataLoader:file upload` } sx = { { width : 960 , maxWidth : '100%' , } } show = { selectedTabKey === 'dataLoader:file upload' } >
626
+ { uploadFileButton ( < Typography component = "span" fontSize = { 18 } textTransform = "none" > { isUploading ? 'uploading...' : 'upload a csv/tsv file to the local database ' } </ Typography > ) }
625
627
</ TabPanel >
626
628
{ [ "mysql" , "kusto" ] . map ( ( dataLoaderType , i ) => (
627
629
< TabPanel key = { `dataLoader:${ dataLoaderType } ` } sx = { { width : 960 , maxWidth : '100%' } } show = { selectedTabKey === 'dataLoader:' + dataLoaderType } >
0 commit comments