Feat: Upload file UI/UX enhancements (#5359)

### What problem does this PR solve?

Modifies the UX for uploading process on the website.

- Adds option to parse on creation the files
- Adds progress bar to display progress of chunk
- Adds per file feedback on uploading operation

#### Screenshots:

- Show files uploading:

![image](https://github.com/user-attachments/assets/a5693f42-8232-4d5c-a240-20ed343634a5)

- Errors on specific files

![image](https://github.com/user-attachments/assets/986a7f54-ab32-4634-89ab-a098fe1954aa)


### Type of change

- [X] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Omar Leonardo Sanchez Granados
2025-03-05 02:20:32 -05:00
committed by GitHub
parent f65c3ae62b
commit 11e3f5e8b2
13 changed files with 189 additions and 92 deletions

View File

@ -726,6 +726,7 @@ General实体和关系提取提示来自 GitHub - microsoft/graphrag基于
pleaseSelect: '请选择',
newFolder: '新建文件夹',
uploadFile: '上传文件',
parseOnCreation: '创建时解析',
uploadTitle: '点击或拖拽文件至此区域即可上传',
uploadDescription:
'支持单次或批量上传。 单个文件大小不超过10MB最多上传128份文件。严禁上传违禁文件。',