Skip to content

fix(driver/OneDrive): fix direct upload, show size and upload speed#300

Merged
jyxjjj merged 1 commit intoOpenListTeam:mainfrom
Y-ASLant:main
Dec 4, 2025
Merged

fix(driver/OneDrive): fix direct upload, show size and upload speed#300
jyxjjj merged 1 commit intoOpenListTeam:mainfrom
Y-ASLant:main

Conversation

@Y-ASLant
Copy link
Copy Markdown
Contributor

@Y-ASLant Y-ASLant commented Dec 3, 2025

  • 修复4-5MB文件直连上传400错误(移除file.size判断,确保Content-Range头设置)
  • 添加上传文件大小显示(右对齐灰色文本)
  • 实现上传速度实时计算(每500ms更新,使用闭包优化)

修复问题:

- 修复4-5MB文件直连上传400错误(移除file.size判断,确保Content-Range头设置)
- 添加上传文件大小显示(右对齐灰色文本)
- 实现上传速度实时计算(每500ms更新,使用闭包优化)
- 使用createSpeedCalculator函数复用速度计算逻辑,减少代码重复

修复问题: OpenListTeam#279
@jyxjjj jyxjjj changed the title fix:OneDrive直连上传并优化界面显示 fix(driver/OneDrive): fix direct upload, show size and upload speed Dec 4, 2025
@jyxjjj jyxjjj merged commit 1afc989 into OpenListTeam:main Dec 4, 2025
7 checks passed
@Y-ASLant Y-ASLant review requested due to automatic review settings March 23, 2026 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants