diff --git a/superset-frontend/packages/superset-ui-core/src/components/TableCollection/utils.tsx b/superset-frontend/packages/superset-ui-core/src/components/TableCollection/utils.tsx index bc4cf2fd0658..0692b042918e 100644 --- a/superset-frontend/packages/superset-ui-core/src/components/TableCollection/utils.tsx +++ b/superset-frontend/packages/superset-ui-core/src/components/TableCollection/utils.tsx @@ -36,7 +36,7 @@ import { import { SortOrder } from '../Table'; -type TableSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; +type TableSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl'; type RowWithId = Row & { rowId: string }; @@ -47,6 +47,7 @@ const COLUMN_SIZE_MAP: Record = { lg: 100, xl: 150, xxl: 200, + xxxl: 360, }; type EnhancedColumnInstance = RTColumnInstance & diff --git a/superset-frontend/src/pages/ChartList/index.tsx b/superset-frontend/src/pages/ChartList/index.tsx index f0ff7fb5475a..30f8fb724e7b 100644 --- a/superset-frontend/src/pages/ChartList/index.tsx +++ b/superset-frontend/src/pages/ChartList/index.tsx @@ -340,7 +340,7 @@ function ChartList(props: ChartListProps) { Header: '', id: 'id', disableSortBy: true, - size: 'xs', + size: 'sm', hidden: !userId, }, { @@ -372,6 +372,7 @@ function ChartList(props: ChartListProps) { ), Header: t('Name'), accessor: 'slice_name', + size: 'xxxl', id: 'slice_name', }, { diff --git a/superset-frontend/src/pages/DashboardList/index.tsx b/superset-frontend/src/pages/DashboardList/index.tsx index 6b9454f7adcd..9fd2008ecd66 100644 --- a/superset-frontend/src/pages/DashboardList/index.tsx +++ b/superset-frontend/src/pages/DashboardList/index.tsx @@ -323,7 +323,7 @@ function DashboardList(props: DashboardListProps) { Header: '', id: 'id', disableSortBy: true, - size: 'xs', + size: 'sm', hidden: !user?.userId, }, { @@ -351,6 +351,7 @@ function DashboardList(props: DashboardListProps) { ), Header: t('Name'), accessor: 'dashboard_title', + size: 'xxxl', id: 'dashboard_title', }, { diff --git a/superset-frontend/src/pages/DatasetList/index.tsx b/superset-frontend/src/pages/DatasetList/index.tsx index 7822e15a9e57..dadffd4283e2 100644 --- a/superset-frontend/src/pages/DatasetList/index.tsx +++ b/superset-frontend/src/pages/DatasetList/index.tsx @@ -289,15 +289,10 @@ const DatasetList: FunctionComponent = ({ const columns = useMemo( () => [ { - Cell: ({ - row: { - original: { kind }, - }, - }: any) => null, - accessor: 'kind_icon', - disableSortBy: true, - size: 'xs', + accessor: 'id', id: 'id', + hidden: true, + disableSortBy: true, }, { Cell: ({ @@ -351,6 +346,7 @@ const DatasetList: FunctionComponent = ({ }, Header: t('Name'), accessor: 'table_name', + size: 'xxxl', id: 'table_name', }, {