feat: show real download progress in the files sidebar
- the download dialog starts from the size fs/stat reported, so the bar is determinate even when the response has no Content-Length (the relay forwards the body chunked); the server's own total wins when it has one - the line reads "512.0 KB / 20.0 MB (2.5%)": below 10% one decimal shows that the transfer is moving - bump to 0.5.4
This commit is contained in:
1 parent
511c3b006b
commit
545778c6f3
4 files changed
+37
-6
No files matched your search
@@ -5,6 +5,16 @@
|
||||
|
||||
---
|
||||
|
||||
## 0.5.4 文件下载进度(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
| --- | --- |
|
||||
| 进度 | 下载对话框的进度条改为确定进度:用 `fs/stat` 取到的文件大小当总量,服务器给出 `Content-Length` 时以服务器为准;显示「已下载 / 总大小 (百分比)」。Relay 把响应体按 chunked 转发、不带 `Content-Length` 时也能看到百分比 |
|
||||
| 取消 | 取消仍然中断请求并丢弃已下载的数据;完全没有大小信息时保持不确定进度条,并显示已下载字节数 |
|
||||
| 版本 | **0.5.4(code 504)** |
|
||||
|
||||
---
|
||||
|
||||
## 0.5.3 英文为源、按范围选择文本(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
|
||||
Reference in new issue
Block a user