LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
UN-3028 [FIX] Improve File History UI with clearer column names and fix Last Attempt timestamp (#1696)
ali27b7ec1fc7c3
diff --git a/backend/workflow_manager/workflow_v2/file_history_helper.py b/backend/workflow_manager/workflow_v2/file_history_helper.pyindex 687f88dfe..12b0a9c2c 100644--- a/backend/workflow_manager/workflow_v2/file_history_helper.py+++ b/backend/workflow_manager/workflow_v2/file_history_helper.py@@ -288,6 +288,7 @@ class FileHistoryHelper:result=str(result),metadata=FileHistoryHelper._safe_str(metadata),error=FileHistoryHelper._safe_str(error),+ modified_at=timezone.now(),)# Refresh from DB to get updated valuesfile_history.refresh_from_db()diff --git a/frontend/src/components/pipelines-or-deployments/file-history-modal/FileHistoryModal.jsx b/frontend/src/components/pipelines-or-deployments/file-history-modal/FileHistoryModal.jsxindex e8dc422ec..e3684340d 100644--- a/frontend/src/components/pipelines-or-deployments/file-history-modal/FileHistoryModal.jsx+++ b/frontend/src/components/pipelines-or-deployments/file-history-modal/FileHistoryModal.jsx@@ -9,6 +9,7 @@ import {Typography,Popconfirm,Tag,+ Tooltip,Row,Col,message,@@ -435,7 +436,11 @@ const FileHistoryModal = ({ open, setOpen, workflowId, workflowName }) => {},},{- title: "Execution Count",+ title: (+ <Tooltip title="Number of times this file has been processed in this workflow">+ <span>Total Attempts</span>+ </Tooltip>+ ),dataIndex: "execution_count",key: "execution_count",width: "10%",@@ -450,7 +455,7 @@ const FileHistoryModal = ({ open, setOpen, workflowId, workflowName }) => {},},{- title: "Last Run",+ title: "Last Attempt",dataIndex: "modified_at",key: "modified_at",width: "12%",@@ -559,7 +564,7 @@ const FileHistoryModal = ({ open, setOpen, workflowId, workflowName }) => {<Col xs={6} sm={4} md={3}><Space direction="vertical" size="small" className="full-width"><Text strong className="filter-label">- Min Count:+ Min Attempts:</Text><InputNumberplaceholder="0"@@ -573,7 +578,7 @@ const FileHistoryModal = ({ open, setOpen, workflowId, workflowName }) => {<Col xs={6} sm={4} md={3}><Space direction="vertical" size="small" className="full-width"><Text strong className="filter-label">- Max Count:+ Max Attempts:</Text><InputNumberplaceholder="∞"