Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Data Studio Owners, Alignment & Dependency diagnostics icon (#68707)

Gabriel Moreno794819ead20d
diff --git a/enterprise/frontend/src/metabase-enterprise/data-studio/data-model/components/TablePicker/components/TablePickerTreeTable.tsx b/enterprise/frontend/src/metabase-enterprise/data-studio/data-model/components/TablePicker/components/TablePickerTreeTable.tsx
index 10eb951ec2e..2ecb16e7870 100644
--- a/enterprise/frontend/src/metabase-enterprise/data-studio/data-model/components/TablePicker/components/TablePickerTreeTable.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/data-studio/data-model/components/TablePicker/components/TablePickerTreeTable.tsx
@@ -245,7 +245,7 @@ export function TablePickerTreeTable({
}
const rowCount = row.original.table.estimated_row_count;
return rowCount != null ? (
- <Box w="100%" ta="center" data-testid="table-expected-rows">
+ <Box w="100%" ta="right" data-testid="table-expected-rows">
{formatNumber(rowCount)}
</Box>
) : null;
diff --git a/enterprise/frontend/src/metabase-enterprise/transforms/pages/TransformListPage/TransformListPage.tsx b/enterprise/frontend/src/metabase-enterprise/transforms/pages/TransformListPage/TransformListPage.tsx
index 08da4cc0d99..07cecfbab27 100644
--- a/enterprise/frontend/src/metabase-enterprise/transforms/pages/TransformListPage/TransformListPage.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/transforms/pages/TransformListPage/TransformListPage.tsx
@@ -18,7 +18,6 @@ import * as Urls from "metabase/lib/urls";
import { type NamedUser, getUserName } from "metabase/lib/user";
import { PLUGIN_TRANSFORMS_PYTHON } from "metabase/plugins";
import {
- Avatar,
Card,
EntityNameCell,
Flex,
@@ -169,35 +168,12 @@ export const TransformListPage = ({ location }: WithRouterProps) => {
if (hasUserName) {
const displayName = getUserName(owner as NamedUser);
- return (
- <Flex align="center" gap="sm">
- <Avatar size="sm" name={displayName} />
- <Ellipsified>{displayName}</Ellipsified>
- </Flex>
- );
+ return <Ellipsified>{displayName}</Ellipsified>;
}
const ownerEmail = row.original.owner_email ?? owner?.email;
if (ownerEmail) {
- return (
- <Flex align="center" gap="sm">
- <Avatar size="sm" color="initials" name="emails">
- <Icon name="mail" />
- </Avatar>
- <Ellipsified>{ownerEmail}</Ellipsified>
- </Flex>
- );
- }
-
- if (row.original.nodeType === "transform") {
- return (
- <Flex align="center" gap="sm">
- <Avatar size="sm" color="background-secondary" name="unknown">
- <Icon name="person" c="text-secondary" />
- </Avatar>
- <Ellipsified c="text-secondary">{t`No owner`}</Ellipsified>
- </Flex>
- );
+ return <Ellipsified>{ownerEmail}</Ellipsified>;
}
return null;
diff --git a/frontend/src/metabase/ui/components/icons/Icon/icons/search_check.svg b/frontend/src/metabase/ui/components/icons/Icon/icons/search_check.svg
index 4efb7602be9..bc7cb3084bc 100644
--- a/frontend/src/metabase/ui/components/icons/Icon/icons/search_check.svg
+++ b/frontend/src/metabase/ui/components/icons/Icon/icons/search_check.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#071722" fill-opacity=".74" d="M7.333 1.25a6.084 6.084 0 0 1 6.084 6.083c0 1.41-.481 2.706-1.286 3.737l2.4 2.4a.752.752 0 0 1-1.061 1.061l-2.4-2.4a6.06 6.06 0 0 1-3.737 1.286 6.084 6.084 0 0 1 0-12.167m0 1.5a4.583 4.583 0 1 0 0 9.167 4.583 4.583 0 0 0 0-9.167m1.47 2.72a.75.75 0 0 1 1.06 1.06L7.196 9.197a.75.75 0 0 1-1.06 0L4.803 7.863a.75.75 0 0 1 1.06-1.06l.803.802z"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path d="M7.333 1.25a6.084 6.084 0 0 1 6.084 6.083c0 1.41-.481 2.706-1.286 3.737l2.4 2.4a.752.752 0 0 1-1.061 1.061l-2.4-2.4a6.06 6.06 0 0 1-3.737 1.286 6.084 6.084 0 0 1 0-12.167m0 1.5a4.583 4.583 0 1 0 0 9.167 4.583 4.583 0 0 0 0-9.167m1.47 2.72a.75.75 0 0 1 1.06 1.06L7.196 9.197a.75.75 0 0 1-1.06 0L4.803 7.863a.75.75 0 0 1 1.06-1.06l.803.802z"/></svg>