diff --git a/js/src/components/lineage/ActionTag.tsx b/js/src/components/lineage/ActionTag.tsx
index 47e610b6..29b6371b 100644
--- a/js/src/components/lineage/ActionTag.tsx
+++ b/js/src/components/lineage/ActionTag.tsx
@@ -100,13 +100,7 @@ export const ActionTag = ({ node, action }: ActionTagProps) => {
if (run.type === "row_count_diff") {
const result = run.result as RowCountDiffResult;
- return (
-
- );
+ return ;
}
return <>{run_id}>;
diff --git a/js/src/components/lineage/NodeFilter.tsx b/js/src/components/lineage/NodeFilter.tsx
index 6289bb3f..bfad1504 100644
--- a/js/src/components/lineage/NodeFilter.tsx
+++ b/js/src/components/lineage/NodeFilter.tsx
@@ -318,7 +318,7 @@ const MoreActionMenu = (props: NodeFilterProps) => {
-
+
+
+
+ {(node.resourceType === "model" ||
+ node.resourceType === "snapshot") && (
+ }
+ fontSize="14px"
+ >
+ Code Diff
+
+ )}
+ }
+ fontSize="14px"
+ onClick={() => refetchRowCount()}
+ isDisabled={isRowCountFetching}
+ >
+ Row Count Diff
+
+ }
+ fontSize="14px"
+ isDisabled={isAddedOrRemoved}
+ onClick={() => {
+ runAction(
+ "profile_diff",
+ {
+ model: node.name,
+ },
+ { showForm: false, showLast: true }
+ );
+ }}
+ >
+ Profile Diff
+
+ }
+ fontSize="14px"
+ isDisabled={isAddedOrRemoved}
+ onClick={() => {
+ runAction(
+ "value_diff",
+ {
+ model: node.name,
+ },
+ { showForm: true, showLast: true }
+ );
+ }}
+ >
+ Value Diff
+
+ }
+ fontSize="14px"
+ isDisabled={isAddedOrRemoved}
+ onClick={() => {
+ runAction(
+ "top_k_diff",
+ { model: node.name, column_name: "", k: 50 },
+ { showForm: true }
+ );
+ }}
+ >
+ Top-K Diff
+
+ }
+ fontSize="14px"
+ isDisabled={isAddedOrRemoved}
+ onClick={() => {
+ runAction(
+ "histogram_diff",
+ {
+ model: node.name,
+ column_name: "",
+ column_type: "",
+ },
+ { showForm: true }
+ );
+ }}
+ >
+ Histogram Diff
+
+
+
+
+ }
+ fontSize="14px"
+ onClick={addSchemaCheck}
+ >
+ Schema Diff
+
+
+
+
)}
-
+ {/* )} */}
+
@@ -106,122 +227,40 @@ export function NodeView({ node, onCloseNode }: NodeViewProps) {
{(node.resourceType === "model" ||
- node.resourceType === "snapshot") && (
-
+ node.resourceType === "snapshot" ||
+ node.resourceType === "seed") && (
+
)}
{withColumns && (
- <>
-
-
- Columns
-
-
-
-
-
-
-
-
-
-
-
- {node.resourceType === "model" && (
- <>
- {node.changeStatus !== "added" &&
- node.changeStatus !== "removed" && (
- <>
-
- >
- )}
-
- >
- )}
-
- >
+
+
+ Columns
+
+
+
+
+
+
+
)}
+
+
+
+ Model Raw Code Diff
+
+
+
+
+
+
);
}
diff --git a/js/src/components/schema/SqlDiffView.tsx b/js/src/components/schema/SqlDiffView.tsx
index 329dffd4..a878007c 100644
--- a/js/src/components/schema/SqlDiffView.tsx
+++ b/js/src/components/schema/SqlDiffView.tsx
@@ -9,7 +9,7 @@ interface SqlDiffProps {
export function SqlDiffView({ base, current }: SqlDiffProps) {
return (