Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

Fix/UI bug fixes (#191)

Tahier Hussain5da1d47efa9d
diff --git a/frontend/src/components/custom-tools/document-manager/DocumentManager.css b/frontend/src/components/custom-tools/document-manager/DocumentManager.css
index 47af475d1..29c3913de 100644
--- a/frontend/src/components/custom-tools/document-manager/DocumentManager.css
+++ b/frontend/src/components/custom-tools/document-manager/DocumentManager.css
@@ -40,3 +40,7 @@
color: darkgray;
font-size: 12px;
}
+
+.doc-main-title-div {
+ max-width: 150px;
+}
diff --git a/frontend/src/components/custom-tools/document-manager/DocumentManager.jsx b/frontend/src/components/custom-tools/document-manager/DocumentManager.jsx
index 9d896340c..981e4f5e8 100644
--- a/frontend/src/components/custom-tools/document-manager/DocumentManager.jsx
+++ b/frontend/src/components/custom-tools/document-manager/DocumentManager.jsx
@@ -223,11 +223,13 @@ function DocumentManager({ generateIndex, handleUpdateTool, handleDocChange }) {
/>
</div>
<Space>
- <div>
+ <div className="doc-main-title-div">
{selectedDoc ? (
- <Typography.Text className="doc-main-title" ellipsis>
- {selectedDoc?.document_name}
- </Typography.Text>
+ <Tooltip title={selectedDoc?.document_name}>
+ <Typography.Text className="doc-main-title" ellipsis>
+ {selectedDoc?.document_name}
+ </Typography.Text>
+ </Tooltip>
) : null}
</div>
<div>
diff --git a/frontend/src/components/input-output/list-of-sources/ListOfSources.jsx b/frontend/src/components/input-output/list-of-sources/ListOfSources.jsx
index d9a989bf1..87291025d 100644
--- a/frontend/src/components/input-output/list-of-sources/ListOfSources.jsx
+++ b/frontend/src/components/input-output/list-of-sources/ListOfSources.jsx
@@ -33,6 +33,7 @@ function ListOfSources({ setSelectedSourceId, type }) {
"unstructuredenterprise|eb1b6c58-221f-4db0-a4a5-e5f9cdca44e1",
"unstructuredcommunity|eeed506f-1875-457f-9101-846fc7115676",
],
+ VECTOR_DB: ["milvus|3f42f6f9-4b8e-4546-95f3-22ecc9aca442"],
};
useEffect(() => {
diff --git a/frontend/src/components/widgets/list-view/ListView.jsx b/frontend/src/components/widgets/list-view/ListView.jsx
index 403813407..eced8bf92 100644
--- a/frontend/src/components/widgets/list-view/ListView.jsx
+++ b/frontend/src/components/widgets/list-view/ListView.jsx
@@ -70,7 +70,9 @@ function ListView({
className="list-view-container"
>
<div className="list-view-content">
- <div className="adapters-list-title-container">{title}</div>
+ <div className="adapters-list-title-container display-flex-left">
+ {title}
+ </div>
{showOwner && (
<div className="adapters-list-profile-container">
<Avatar
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 471addb68..f39270dbe 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -59,6 +59,12 @@ body {
justify-content: right;
}
+/* Justify content to the left */
+.display-flex-left {
+ display: flex;
+ justify-content: left;
+}
+
/* Justify content to the center */
.display-flex-center {
display: flex;
@@ -124,4 +130,4 @@ body {
.modal-header {
font-size: 16px;
font-weight: bold;
-}
\ No newline at end of file
+}