+
+
+ {TYPE_LABEL[hit.type] ?? hit.type}
+
+ {hit.status && }
+
+ {hit.context && (
+
+ {hit.context}
+
+ )}
+ {hit.description && {hit.description}}
+
+ {(hit.type === 'saved_query' || hit.type === 'metric') && (
+
+
+ Touches
+
+ {touches.isLoading ? : }
+
+ )}
+
+ {(hit.type === 'table' || hit.type === 'column') && (
+
+
+ Depended on by
+
+ {dependents.isLoading ? (
+
+ ) : dependents.data && dependents.data.length > 0 ? (
+
+ {dependents.data.map((r) => (
+
+
+ {TYPE_LABEL[r.artifact_type] ?? r.artifact_type}
+
+ {r.artifact_id.slice(0, 8)}…
+
+ ))}
+
+ ) : (
+
+ Nothing depends on this yet.
+
+ )}
+
+ )}
+
+