+
}
+ title={title}
+ />
+
+ {/* Metadata */}
+
+
+ {dbDisplayName(connection.dialect)}
+
+ }
+ />
+
+ {connection.source}
+
+ }
+ />
+
+
+ {/* Statistics */}
+
+ }
+ text={`${databaseCount} ${databasesText.pluralize(databaseCount)}`}
+ />
+ }
+ text={`${schemasCount} ${schemasText.pluralize(schemasCount)}`}
+ />
+
+
+ {/* Database Preview */}
+ {databaseCount > 0 && (
+
+ )}
+
+ {/* Tables Preview */}
+ {dataframeItems && dataframeItems.length > 0 && (
+
+ )}
+
+ );
+};
+
export const renderEmptyInfo = (
type: "column" | "table" | "schema" | "database",
) => {
diff --git a/frontend/src/core/datasets/data-source-connections.ts b/frontend/src/core/datasets/data-source-connections.ts
index e9ea8de93fc..0c3837b3d93 100644
--- a/frontend/src/core/datasets/data-source-connections.ts
+++ b/frontend/src/core/datasets/data-source-connections.ts
@@ -36,7 +36,7 @@ export interface DataSourceConnection
name: ConnectionName;
}
-type ConnectionsMap = ReadonlyMap