You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by el...@apache.org on 2024/08/14 22:25:53 UTC

(superset) branch elizabeth/fix-dataset-name created (now 5748c929fd)

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

elizabeth pushed a change to branch elizabeth/fix-dataset-name
in repository https://gitbox.apache.org/repos/asf/superset.git


      at 5748c929fd only show dataset name in list

This branch includes the following new commits:

     new 5748c929fd only show dataset name in list

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(superset) 01/01: only show dataset name in list

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elizabeth pushed a commit to branch elizabeth/fix-dataset-name
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 5748c929fddeb38562aff2f6dc117b7cafbfc95e
Author: Elizabeth Thompson <es...@gmail.com>
AuthorDate: Wed Aug 14 15:25:33 2024 -0700

    only show dataset name in list
---
 superset-frontend/src/pages/ChartList/index.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/superset-frontend/src/pages/ChartList/index.tsx b/superset-frontend/src/pages/ChartList/index.tsx
index 60c7b5dafe..87a0c198dc 100644
--- a/superset-frontend/src/pages/ChartList/index.tsx
+++ b/superset-frontend/src/pages/ChartList/index.tsx
@@ -378,7 +378,11 @@ function ChartList(props: ChartListProps) {
               datasource_url: dsUrl,
             },
           },
-        }: any) => <GenericLink to={dsUrl}>{dsNameTxt}</GenericLink>,
+        }: any) => (
+          <Tooltip title={dsNameTxt} placement="top">
+            <GenericLink to={dsUrl}>{dsNameTxt.split('.')[1]}</GenericLink>
+          </Tooltip>
+        ),
         Header: t('Dataset'),
         accessor: 'datasource_id',
         disableSortBy: true,