superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Add See Tableview Form button to the Datasource Editor modal (#6430)
Date Wed, 05 Dec 2018 04:44:18 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 8307716  Add See Tableview Form button to the Datasource Editor modal (#6430)
8307716 is described below

commit 8307716d723d7e16d3e5dd579a6d9e0f8e5413d8
Author: leakingoxide <45320817+leakingoxide@users.noreply.github.com>
AuthorDate: Wed Dec 5 05:44:13 2018 +0100

    Add See Tableview Form button to the Datasource Editor modal (#6430)
    
    * Add See Tableview Form button to the Datasource Editor modal
    
    * Change the text on datasource edit button
---
 superset/assets/src/datasource/DatasourceModal.jsx | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/superset/assets/src/datasource/DatasourceModal.jsx b/superset/assets/src/datasource/DatasourceModal.jsx
index 947d123..103e9a7 100644
--- a/superset/assets/src/datasource/DatasourceModal.jsx
+++ b/superset/assets/src/datasource/DatasourceModal.jsx
@@ -140,6 +140,17 @@ class DatasourceModal extends React.PureComponent {
             />}
         </Modal.Body>
         <Modal.Footer>
+          <span className="float-left">
+            <Button
+              bsSize="sm"
+              bsStyle="default"
+              target="_blank"
+              href={this.props.datasource.edit_url}
+            >
+              {t('Use Legacy Datasource Editor')}
+            </Button>
+          </span>
+
           <span className="float-right">
             <Button
               bsSize="sm"


Mime
View raw message