You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/01/28 18:28:27 UTC

[superset] branch master updated: refactor: Updated tooltip help text in edit database > SQL Lab settings (#12795)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 17bdaaa  refactor: Updated tooltip help text in edit database > SQL Lab settings (#12795)
17bdaaa is described below

commit 17bdaaaa2df499d2cea489e280d96323a974a666
Author: Lyndsi Kay Williams <55...@users.noreply.github.com>
AuthorDate: Thu Jan 28 12:27:29 2021 -0600

    refactor: Updated tooltip help text in edit database > SQL Lab settings (#12795)
---
 .../src/views/CRUD/data/database/DatabaseModal.tsx             | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx
index a2fc45c..59cf8ee 100644
--- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx
+++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx
@@ -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>