mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
refactor: Updated tooltip help text in edit database > SQL Lab settings (#12795)
This commit is contained in:
committed by
GitHub
parent
47edced482
commit
17bdaaaa2d
@@ -463,7 +463,9 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
onChange={onInputChange}
|
||||
/>
|
||||
<div>{t('Expose in SQL Lab')}</div>
|
||||
<InfoTooltip tooltip={t('Expose this DB in SQL Lab')} />
|
||||
<InfoTooltip
|
||||
tooltip={t('Allow this database to be queried in SQL Lab')}
|
||||
/>
|
||||
</div>
|
||||
</StyledInputContainer>
|
||||
<StyledInputContainer>
|
||||
@@ -476,7 +478,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
/>
|
||||
<div>{t('Allow CREATE TABLE AS')}</div>
|
||||
<InfoTooltip
|
||||
tooltip={t('Allow CREATE TABLE AS option in SQL Lab')}
|
||||
tooltip={t('Allow creation of new tables based on queries')}
|
||||
/>
|
||||
</div>
|
||||
</StyledInputContainer>
|
||||
@@ -490,7 +492,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
/>
|
||||
<div>{t('Allow CREATE VIEW AS')}</div>
|
||||
<InfoTooltip
|
||||
tooltip={t('Allow CREATE VIEW AS option in SQL Lab')}
|
||||
tooltip={t('Allow creation of new views based on queries')}
|
||||
/>
|
||||
</div>
|
||||
</StyledInputContainer>
|
||||
@@ -505,7 +507,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
<div>{t('Allow DML')}</div>
|
||||
<InfoTooltip
|
||||
tooltip={t(
|
||||
'Allow users to run non-SELECT statements (UPDATE, DELETE, CREATE, ...)',
|
||||
'Allow manipulation of the database using non-SELECT statements such as UPDATE, DELETE, CREATE, etc.',
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user