Fix: Added some prompts and polling functionality to retrieve data source logs. #10703 (#11103)

### What problem does this PR solve?

Fix: Added some prompts and polling functionality to retrieve data
source logs.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-11-07 14:28:45 +08:00
committed by GitHub
parent b137de1def
commit edbc396bc6
13 changed files with 155 additions and 95 deletions

View File

@ -49,7 +49,8 @@ export interface IFileLogItem {
process_duration: number;
progress: number;
progress_msg: string;
source_type: string;
source_type?: string;
source_from?: string;
status: string;
task_type: string;
tenant_id: string;

View File

@ -107,9 +107,9 @@ export const getFileLogsTableColumns = (
meta: { cellClassName: 'max-w-[10vw]' },
cell: ({ row }) => (
<div className="text-text-primary">
{row.original.source_type
{row.original.source_from
? DataSourceInfo[
row.original.source_type as keyof typeof DataSourceInfo
row.original.source_from as keyof typeof DataSourceInfo
].icon
: t('localUpload')}
</div>