LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
FIX - UI Enhancements (#167)
Tahier Hussain4c3b4a042660
diff --git a/backend/prompt_studio/prompt_studio_core/constants.py b/backend/prompt_studio/prompt_studio_core/constants.pyindex 81eb38256..7c2b5db52 100644--- a/backend/prompt_studio/prompt_studio_core/constants.py+++ b/backend/prompt_studio/prompt_studio_core/constants.py@@ -97,3 +97,19 @@ class LogLevel(Enum):WARN = "WARN"ERROR = "ERROR"FATAL = "FATAL"+++class DefaultPrompts:+ PREAMBLE = (+ "Your ability to extract and summarize this context accurately "+ "is essential for effective analysis. "+ "Pay close attention to the context's language, structure, and any "+ "cross-references to ensure a comprehensive and precise extraction "+ "of information. Do not use prior knowledge or information from "+ "outside the context to answer the questions. Only use the "+ "information provided in the context to answer the questions."+ )+ POSTAMBLE = (+ "Do not include any explanation in the reply. "+ "Only include the extracted information in the reply."+ )diff --git a/backend/prompt_studio/prompt_studio_core/migrations/0011_alter_customtool_postamble_alter_customtool_preamble.py b/backend/prompt_studio/prompt_studio_core/migrations/0011_alter_customtool_postamble_alter_customtool_preamble.pynew file mode 100644index 000000000..f7772a9b9--- /dev/null+++ b/backend/prompt_studio/prompt_studio_core/migrations/0011_alter_customtool_postamble_alter_customtool_preamble.py@@ -0,0 +1,33 @@+# Generated by Django 4.2.1 on 2024-03-24 10:56++from django.db import migrations, models+++class Migration(migrations.Migration):+ dependencies = [+ (+ "prompt_studio_core",+ "0010_customtool_challenge_llm_customtool_enable_challenge_and_more",+ ),+ ]++ operations = [+ migrations.AlterField(+ model_name="customtool",+ name="postamble",+ field=models.TextField(+ blank=True,+ db_comment="Appended as postable to prompts.",+ default="Do not include any explanation in the reply. Only include the extracted information in the reply.",+ ),+ ),+ migrations.AlterField(+ model_name="customtool",+ name="preamble",+ field=models.TextField(+ blank=True,+ db_comment="Preamble to the prompts",+ default="Your ability to extract and summarize this context accurately is essential for effective analysis. Pay close attention to the context's language, structure, and any cross-references to ensure a comprehensive and precise extraction of information. Do not use prior knowledge or information from outside the context to answer the questions. Only use the information provided in the context to answer the questions.",+ ),+ ),+ ]diff --git a/backend/prompt_studio/prompt_studio_core/models.py b/backend/prompt_studio/prompt_studio_core/models.pyindex 1ecda5ebd..960c0723a 100644--- a/backend/prompt_studio/prompt_studio_core/models.py+++ b/backend/prompt_studio/prompt_studio_core/models.py@@ -3,6 +3,7 @@ import uuidfrom account.models import Userfrom adapter_processor.models import AdapterInstancefrom django.db import models+from prompt_studio.prompt_studio_core.constants import DefaultPromptsfrom utils.models.base_model import BaseModel@@ -32,12 +33,6 @@ class CustomTool(BaseModel):default=uuid.uuid4,db_comment="Field to store unique log_id for polling",)- preamble = models.TextField(- blank=True, db_comment="Preamble to the prompts"- )- postamble = models.TextField(- blank=True, db_comment="Appended as postable to prompts."- )summarize_context = models.BooleanField(default=False, db_comment="Flag to summarize content"@@ -50,6 +45,16 @@ class CustomTool(BaseModel):db_comment="Field to store the summarize prompt",unique=False,)+ preamble = models.TextField(+ blank=True,+ db_comment="Preamble to the prompts",+ default=DefaultPrompts.PREAMBLE+ )+ postamble = models.TextField(+ blank=True,+ db_comment="Appended as postable to prompts.",+ default=DefaultPrompts.POSTAMBLE+ )prompt_grammer = models.JSONField(null=True, blank=True, db_comment="Synonymous words used in prompt")diff --git a/frontend/src/assets/export-tool.svg b/frontend/src/assets/export-tool.svgnew file mode 100644index 000000000..3793d20f7--- /dev/null+++ b/frontend/src/assets/export-tool.svg@@ -0,0 +1,16 @@+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="20" height="20" viewBox="0 0 1080 1080" xml:space="preserve">+<desc>Created with Fabric.js 5.2.4</desc>+<defs>+</defs>+<rect x="0" y="0" width="100%" height="100%" fill="transparent"></rect>+<g transform="matrix(1 0 0 1 540 540)" id="7fc4f7c0-17f4-4b6c-a307-8b068fc5eebf" >+</g>+<g transform="matrix(1 0 0 1 540 540)" id="adf9858a-6788-49e0-835f-fbf4e7cd04bf" >+<rect style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1; visibility: hidden;" vector-effect="non-scaling-stroke" x="-540" y="-540" rx="0" ry="0" width="1080" height="1080" />+</g>+<g transform="matrix(1.48 0 0 1.48 539.12 539.02)" id="3085e018-5bf9-4706-bdea-f7a6a518d7c8" >+<path style="stroke: rgb(0,0,0); stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(255,255,255); fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-480, 480)" d="M 460 -171.462 L 460 -468.538 L 200 -619.077 L 200 -335.846 Q 200 -329.692 203.077 -324.308 Q 206.154 -318.923 212.308 -315.077 L 460 -171.462 Z M 500 -171.462 L 747.692 -315.077 Q 753.846 -318.923 756.923 -324.308 Q 760 -329.692 760 -335.846 L 760 -619.077 L 500 -468.538 L 500 -171.462 Z M 447.692 -132.53799999999998 L 192.307 -279.692 Q 177.154 -288.384 168.577 -303.308 Q 160 -318.231 160 -335.615 L 160 -624.385 Q 160 -641.769 168.577 -656.692 Q 177.154 -671.616 192.307 -680.308 L 447.692 -827.462 Q 462.846 -836.154 480 -836.154 Q 497.154 -836.154 512.308 -827.462 L 767.693 -680.308 Q 782.846 -671.616 791.423 -656.692 Q 800 -641.769 800 -624.385 L 800 -335.615 Q 800 -318.231 791.423 -303.308 Q 782.846 -288.384 767.693 -279.692 L 512.308 -132.538 Q 497.154 -123.846 480 -123.846 Q 462.846 -123.846 447.692 -132.538 Z M 628.462 -589 L 737 -651.462 L 492.308 -793.077 Q 486.154 -796.923 480 -796.923 Q 473.846 -796.923 467.692 -793.077 L 372 -738.077 L 628.462 -589 Z M 480 -502.923 L 588 -565.615 L 331 -714.154 L 223 -651.462 L 480 -502.923 Z" stroke-linecap="round" />+</g>+</svg>diff --git a/frontend/src/assets/index.js b/frontend/src/assets/index.jsindex a5a091da8..9056c99c0 100644--- a/frontend/src/assets/index.js+++ b/frontend/src/assets/index.js@@ -27,6 +27,7 @@ import { ReactComponent as SquareBg } from "./square-bg.svg";import { ReactComponent as TrialDoc } from "./trial-doc.svg";import { ReactComponent as TextExtractorIcon } from "./text-extractor.svg";import { ReactComponent as OcrIcon } from "./ocr.svg";+import { ReactComponent as ExportToolIcon } from "./export-tool.svg";export {SunIcon,@@ -58,4 +59,5 @@ export {TrialDoc,TextExtractorIcon,OcrIcon,+ ExportToolIcon,};diff --git a/frontend/src/components/custom-tools/display-logs/DisplayLogs.jsx b/frontend/src/components/custom-tools/display-logs/DisplayLogs.jsxindex dc8355316..f0f6b7bd0 100644--- a/frontend/src/components/custom-tools/display-logs/DisplayLogs.jsx+++ b/frontend/src/components/custom-tools/display-logs/DisplayLogs.jsx@@ -22,7 +22,7 @@ function DisplayLogs() {return (<div key={message?.timestamp}><Row>- <Col span={3}>+ <Col span={5}><Typography className="display-logs-col-first">{getDateTimeString(message?.timestamp)}</Typography>@@ -47,7 +47,7 @@ function DisplayLogs() {{message?.component?.doc_name}</Typography></Col>- <Col span={10}>+ <Col span={8}><Typography className="display-logs-col">{message?.message}</Typography>diff --git a/frontend/src/components/custom-tools/document-manager/DocumentManager.jsx b/frontend/src/components/custom-tools/document-manager/DocumentManager.jsxindex 7474be81c..6d755d164 100644--- a/frontend/src/components/custom-tools/document-manager/DocumentManager.jsx+++ b/frontend/src/components/custom-tools/document-manager/DocumentManager.jsx@@ -15,6 +15,8 @@ import { useSessionStore } from "../../../store/session-store";import { base64toBlob, docIndexStatus } from "../../../helpers/GetStaticData";import { DocumentViewer } from "../document-viewer/DocumentViewer";import { TextViewerPre } from "../text-viewer-pre/TextViewerPre";+import { useAlertStore } from "../../../store/alert-store";+import { useExceptionHandler } from "../../../hooks/useExceptionHandler";const items = [{@@ -53,7 +55,9 @@ function DocumentManager({ generateIndex, handleUpdateTool, handleDocChange }) {const [page, setPage] = useState(1);const [activeKey, setActiveKey] = useState("1");const [fileUrl, setFileUrl] = useState("");+ const [fileErrMsg, setFileErrMsg] = useState("");const [extractTxt, setExtractTxt] = useState("");+ const [extractErrMsg, setExtractErrMsg] = useState("");const [isDocLoading, setIsDocLoading] = useState(false);const [isExtractLoading, setIsExtractLoading] = useState(false);const [currDocIndexStatus, setCurrDocIndexStatus] = useState(@@ -69,6 +73,8 @@ function DocumentManager({ generateIndex, handleUpdateTool, handleDocChange }) {} = useCustomToolStore();const { sessionDetails } = useSessionStore();const axiosPrivate = useAxiosPrivate();+ const { setAlertDetails } = useAlertStore();+ const handleException = useExceptionHandler();useEffect(() => {setFileUrl("");@@ -111,10 +117,12 @@ function DocumentManager({ generateIndex, handleUpdateTool, handleDocChange }) {const handleFetchContent = (viewType) => {if (viewType === viewTypes.original) {setFileUrl("");+ setFileErrMsg("");}if (viewType === viewTypes.extract) {setExtractTxt("");+ setExtractErrMsg("");}if (!selectedDoc?.document_id) {@@ -141,7 +149,12 @@ function DocumentManager({ generateIndex, handleUpdateTool, handleDocChange }) {setExtractTxt(data);}})- .catch((err) => {})+ .catch((err) => {+ setAlertDetails(handleException(err, "Failed to fetch"));+ if (err?.response?.status === 404) {+ setErrorMessage(viewType);+ }+ }).finally(() => {handleLoadingStateUpdate(viewType, false);});@@ -161,6 +174,18 @@ function DocumentManager({ generateIndex, handleUpdateTool, handleDocChange }) {setActiveKey(key);};+ const setErrorMessage = (viewType) => {+ if (viewType === viewTypes.original) {+ setFileErrMsg("Document not found.");+ }++ if (viewType === viewTypes.extract) {+ setExtractErrMsg(+ "Raw content is not available. Please index or re-index to generate it."+ );+ }+ };+useEffect(() => {const index = [...listOfDocs].findIndex((item) => item?.document_id === selectedDoc?.document_id@@ -256,6 +281,7 @@ function DocumentManager({ generateIndex, handleUpdateTool, handleDocChange }) {isLoading={isDocLoading}isContentAvailable={fileUrl?.length > 0}setOpenManageDocsModal={setOpenManageDocsModal}+ errMsg={fileErrMsg}><PdfViewer fileUrl={fileUrl} /></DocumentViewer>@@ -266,6 +292,7 @@ function DocumentManager({ generateIndex, handleUpdateTool, handleDocChange }) {isLoading={isExtractLoading}isContentAvailable={extractTxt?.length > 0}setOpenManageDocsModal={setOpenManageDocsModal}+ errMsg={extractErrMsg}><TextViewerPre text={extractTxt} /></DocumentViewer>diff --git a/frontend/src/components/custom-tools/document-viewer/DocumentViewer.jsx b/frontend/src/components/custom-tools/document-viewer/DocumentViewer.jsxindex 3ee55f8b0..5f779c5bf 100644--- a/frontend/src/components/custom-tools/document-viewer/DocumentViewer.jsx+++ b/frontend/src/components/custom-tools/document-viewer/DocumentViewer.jsx@@ -10,6 +10,7 @@ function DocumentViewer({isLoading,isContentAvailable,setOpenManageDocsModal,+ errMsg,}) {if (isLoading) {return <SpinnerLoader />;@@ -27,8 +28,10 @@ function DocumentViewer({if (!isContentAvailable) {return (- <div className="display-flex-center display-align-center">- <Typography.Text>Failed to load the document</Typography.Text>+ <div className="height-100 display-flex-center display-flex-align-center">+ <Typography.Text>+ {errMsg || "Failed to load the document"}+ </Typography.Text></div>);}@@ -42,6 +45,7 @@ DocumentViewer.propTypes = {isLoading: PropTypes.bool.isRequired,isContentAvailable: PropTypes.bool.isRequired,setOpenManageDocsModal: PropTypes.func,+ errMsg: PropTypes.string,};export { DocumentViewer };diff --git a/frontend/src/components/custom-tools/header/Header.jsx b/frontend/src/components/custom-tools/header/Header.jsxindex 1e7e1c6bc..4380cc47c 100644--- a/frontend/src/components/custom-tools/header/Header.jsx+++ b/frontend/src/components/custom-tools/header/Header.jsx@@ -1,7 +1,6 @@import {ArrowLeftOutlined,EditOutlined,- ExportOutlined,SettingOutlined,} from "@ant-design/icons";import { Button, Tooltip, Typography } from "antd";@@ -16,6 +15,7 @@ import { useCustomToolStore } from "../../../store/custom-tool-store";import { useSessionStore } from "../../../store/session-store";import { CustomButton } from "../../widgets/custom-button/CustomButton";import { useExceptionHandler } from "../../../hooks/useExceptionHandler";+import { ExportToolIcon } from "../../../assets";let SinglePassToggleSwitch;try {@@ -88,13 +88,13 @@ function Header({ setOpenSettings, handleUpdateTool }) {</div><div className="custom-tools-header-v-divider" /><div>- <Tooltip title="Export">+ <Tooltip title="Export as tool"><CustomButtontype="primary"onClick={handleExport}loading={isExportLoading}>- <ExportOutlined />+ <ExportToolIcon /></CustomButton></Tooltip></div>diff --git a/frontend/src/components/custom-tools/logs-label/LogsLabel.jsx b/frontend/src/components/custom-tools/logs-label/LogsLabel.jsxindex 90d7788ed..b86c32265 100644--- a/frontend/src/components/custom-tools/logs-label/LogsLabel.jsx+++ b/frontend/src/components/custom-tools/logs-label/LogsLabel.jsx@@ -6,7 +6,7 @@ function LogsLabel() {return (<div className="pl-5"><Row className="logs-label-row">- <Col className="logs-label-col" span={3}>+ <Col className="logs-label-col" span={5}><Typography>Time</Typography></Col><Col className="logs-label-col" span={2}>@@ -21,7 +21,7 @@ function LogsLabel() {<Col className="logs-label-col" span={3}><Typography className="pl-5">Document Name</Typography></Col>- <Col className="logs-label-col" span={10}>+ <Col className="logs-label-col" span={8}><Typography className="pl-5">Message</Typography></Col></Row>diff --git a/frontend/src/components/custom-tools/output-for-doc-modal/OutputForDocModal.jsx b/frontend/src/components/custom-tools/output-for-doc-modal/OutputForDocModal.jsxindex ee71e30b5..257fcf0a0 100644--- a/frontend/src/components/custom-tools/output-for-doc-modal/OutputForDocModal.jsx+++ b/frontend/src/components/custom-tools/output-for-doc-modal/OutputForDocModal.jsx@@ -1,7 +1,11 @@import { Button, Modal, Table, Typography } from "antd";import PropTypes from "prop-types";import { useEffect, useState } from "react";-import { CheckCircleFilled, CloseCircleFilled } from "@ant-design/icons";+import {+ CheckCircleFilled,+ CloseCircleFilled,+ InfoCircleFilled,+} from "@ant-design/icons";import { useNavigate } from "react-router-dom";import { useCustomToolStore } from "../../../store/custom-tool-store";@@ -27,6 +31,12 @@ const columns = [},];+const outputStatus = {+ yet_to_process: "YET_TO_PROCESS",+ success: "SUCCESS",+ fail: "FAIL",+};+function OutputForDocModal({open,setOpen,@@ -101,20 +111,23 @@ function OutputForDocModal({(promptOutput) => promptOutput?.document_manager === key);+ let promptOutputInstance = {};// If the prompt output for the current key doesn't exist, skip it- if (index === -1) {- return;+ if (index > -1) {+ promptOutputInstance = updatedPromptOutput[index];+ promptOutputInstance["output"] = docOutputs[key]?.output || null;}- // Retrieve the prompt output instance- const promptOutputInstance = updatedPromptOutput[index];-// Update output and isLoading properties based on docOutputs- promptOutputInstance["output"] = docOutputs[key]?.output || null;+ promptOutputInstance["document_manager"] = key;promptOutputInstance["isLoading"] = docOutputs[key]?.isLoading || false;// Update the prompt output instance in the array- updatedPromptOutput[index] = promptOutputInstance;+ if (index > -1) {+ updatedPromptOutput[index] = promptOutputInstance;+ } else {+ updatedPromptOutput.push(promptOutputInstance);+ }});return updatedPromptOutput;@@ -138,9 +151,6 @@ function OutputForDocModal({axiosPrivate(requestOptions).then((res) => {const data = res?.data || [];- data.sort((a, b) => {- return new Date(b.modified_at) - new Date(a.modified_at);- });updatePromptOutput(data);}).catch((err) => {@@ -160,7 +170,18 @@ function OutputForDocModal({const output = data.find((outputValue) => outputValue?.document_manager === item?.document_id);- const isSuccess = output?.output || output?.output === 0;+ let status = outputStatus.fail;+ let message = "Failed";++ if (output?.output || output?.output === 0) {+ status = outputStatus.success;+ message = displayPromptResult(output?.output, true);+ }++ if (output?.output === undefined) {+ status = outputStatus.yet_to_process;+ message = "Yet to process";+ }const result = {key: item,@@ -172,15 +193,17 @@ function OutputForDocModal({) : (<Typography.Text><span style={{ marginRight: "8px" }}>- {isSuccess ? (- <CheckCircleFilled style={{ color: "#52C41A" }} />- ) : (+ {status === outputStatus.yet_to_process && (+ <InfoCircleFilled style={{ color: "#F0AD4E" }} />+ )}+ {status === outputStatus.fail && (<CloseCircleFilled style={{ color: "#FF4D4F" }} />)}+ {status === outputStatus.success && (+ <CheckCircleFilled style={{ color: "#52C41A" }} />+ )}</span>{" "}- {isSuccess- ? displayPromptResult(output?.output, true)- : "Failed"}+ {message}</Typography.Text>)}</>diff --git a/frontend/src/components/custom-tools/pre-and-post-amble-modal/DefaultPrompts.json b/frontend/src/components/custom-tools/pre-and-post-amble-modal/DefaultPrompts.jsonindex cd6833a7d..951f2236c 100644--- a/frontend/src/components/custom-tools/pre-and-post-amble-modal/DefaultPrompts.json+++ b/frontend/src/components/custom-tools/pre-and-post-amble-modal/DefaultPrompts.json@@ -1,4 +1,4 @@{- "preamble": "Your ability to extract and summarize this information accurately is essential for effective contract analysis, negotiation, and dispute resolution in the legal field. Pay close attention to the contract's language, structure, and any cross-references to ensure a comprehensive and precise extraction of information. Do not use prior knowledge or information from outside the context to answer the questions. Only use the information provided in the context to answer the questions.",+ "preamble": "Your ability to extract and summarize this context accurately is essential for effective analysis. Pay close attention to the context's language, structure, and any cross-references to ensure a comprehensive and precise extraction of information. Do not use prior knowledge or information from outside the context to answer the questions. Only use the information provided in the context to answer the questions.","postamble": "Do not include any explanation in the reply. Only include the extracted information in the reply."}diff --git a/frontend/src/components/custom-tools/pre-and-post-amble-modal/PreAndPostAmbleModal.jsx b/frontend/src/components/custom-tools/pre-and-post-amble-modal/PreAndPostAmbleModal.jsxindex 1d29186eb..036b95ddf 100644--- a/frontend/src/components/custom-tools/pre-and-post-amble-modal/PreAndPostAmbleModal.jsx+++ b/frontend/src/components/custom-tools/pre-and-post-amble-modal/PreAndPostAmbleModal.jsx@@ -25,13 +25,13 @@ function PreAndPostAmbleModal({ type, handleUpdateTool }) {useEffect(() => {if (type === fieldNames.preamble) {setTitle("Preamble");- setText(details?.preamble || DefaultPrompts.preamble);+ setText(details?.preamble || "");return;}if (type === fieldNames.postamble) {setTitle("Postamble");- setText(details?.postamble || DefaultPrompts.postamble);+ setText(details?.postamble || "");}}, [type]);@@ -94,7 +94,7 @@ function PreAndPostAmbleModal({ type, handleUpdateTool }) {onChange={(e) => setText(e.target.value)}/><Button size="small" type="link" onClick={setDefaultPrompt}>- Add default prompt+ Reset with default prompt</Button></div><div className="display-flex-right">diff --git a/frontend/src/components/custom-tools/prompt-card/PromptCard.jsx b/frontend/src/components/custom-tools/prompt-card/PromptCard.jsxindex 6b51d30df..ac209eb99 100644--- a/frontend/src/components/custom-tools/prompt-card/PromptCard.jsx+++ b/frontend/src/components/custom-tools/prompt-card/PromptCard.jsx@@ -320,6 +320,7 @@ function PromptCard({setIsCoverageLoading(true);setCoverage(0);setCoverageTotal(0);+ setDocOutputs({});const docId = selectedDoc?.document_id;const isSummaryIndexed = [...summarizeIndexStatus].find(diff --git a/frontend/src/components/helpers/auth/RequireAuth.js b/frontend/src/components/helpers/auth/RequireAuth.jsindex 01e222d96..caaef86a5 100644--- a/frontend/src/components/helpers/auth/RequireAuth.js+++ b/frontend/src/components/helpers/auth/RequireAuth.js@@ -17,7 +17,7 @@ const RequireAuth = () => {let navigateTo = `/${orgName}/onboard`;if (onboardCompleted(adapters)) {- navigateTo = `/${orgName}/etl`;+ navigateTo = `/${orgName}/tools`;}if (!isLoggedIn) {diff --git a/frontend/src/components/helpers/auth/RequireGuest.js b/frontend/src/components/helpers/auth/RequireGuest.jsindex 2c5bf77e3..ff5a48ab5 100644--- a/frontend/src/components/helpers/auth/RequireGuest.js+++ b/frontend/src/components/helpers/auth/RequireGuest.js@@ -10,7 +10,7 @@ const RequireGuest = () => {const pathname = location.pathname;let navigateTo = `/${orgName}/onboard`;if (onboardCompleted(adapters)) {- navigateTo = `/${orgName}/etl`;+ navigateTo = `/${orgName}/tools`;}return !sessionDetails?.isLoggedIn && publicRoutes.includes(pathname) ? (diff --git a/frontend/src/components/onboard/OnBoard.jsx b/frontend/src/components/onboard/OnBoard.jsxindex a40c85c74..3513b3620 100644--- a/frontend/src/components/onboard/OnBoard.jsx+++ b/frontend/src/components/onboard/OnBoard.jsx@@ -22,7 +22,7 @@ function OnBoard() {const [openAddSourcesModal, setOpenAddSourcesModal] = useState(false);const [editItemId, setEditItemId] = useState(null);const [type, setType] = useState(null);- const homePageUrl = `/${orgName}/etl`;+ const homePageUrl = `/${orgName}/tools`;const [adaptersList, setAdaptersList] = useState(adapters || []);useEffect(() => {if (onboardCompleted(adaptersList)) {diff --git a/frontend/src/components/settings/invite/InviteEditUser.jsx b/frontend/src/components/settings/invite/InviteEditUser.jsxindex 034518fd7..7a92b9c92 100644--- a/frontend/src/components/settings/invite/InviteEditUser.jsx+++ b/frontend/src/components/settings/invite/InviteEditUser.jsx@@ -129,7 +129,7 @@ function InviteEditUser() {useEffect(() => {if (!isInvite && !location.state) {- navigate(`/${sessionDetails?.orgName}/etl`);+ navigate(`/${sessionDetails?.orgName}/tools`);}getUserRoles();}, []);diff --git a/frontend/src/components/widgets/list-view/ListView.css b/frontend/src/components/widgets/list-view/ListView.cssindex 80b6667cb..3688340a0 100644--- a/frontend/src/components/widgets/list-view/ListView.css+++ b/frontend/src/components/widgets/list-view/ListView.css@@ -6,6 +6,7 @@width: 70%;min-width: 800px;max-width: 1400px;+ padding: 0px 10px;}.list-view-item {@@ -17,7 +18,6 @@.cur-pointer {padding: 10px 0 !important;- height: 85px;z-index: 1;overflow: hidden;}@@ -27,6 +27,7 @@margin-left: 20px;z-index: 20;color: #092c4c;+ flex: content;}.cur-pointer .ant-list-item-meta {@@ -77,10 +78,6 @@gap: 5px;}-.action-icon-buttons {- flex: content;-}-.list-view-content {display: flex;width: 80%;@@ -88,4 +85,9 @@.adapters-list-title-container {width: 50%;+ padding-right: 12px;+}++.list-item-desc {+ padding-bottom: 10px;}diff --git a/frontend/src/components/widgets/list-view/ListView.jsx b/frontend/src/components/widgets/list-view/ListView.jsxindex b0f30990b..403813407 100644--- a/frontend/src/components/widgets/list-view/ListView.jsx+++ b/frontend/src/components/widgets/list-view/ListView.jsx@@ -151,8 +151,13 @@ function ListView({className={`cur-pointer ${centered ? "centered" : ""}`}><List.Item.Meta+ className="list-item-desc"title={renderTitle(item)}- description={item[descriptionProp]}+ description={+ <Typography.Text type="secondary" ellipsis>+ {item[descriptionProp]}+ </Typography.Text>+ }></List.Item.Meta></List.Item>);