You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Upgrade download progress: the upgrade dialog now shows a live progress bar, download speed (EMA-smoothed over the 2s status polls), target total size, and estimated remaining time during the 下载中 (downloading) step. Backend: GET /api/v1/system/upgrade/status gains a camelCase download: { downloadedBytes, totalBytes, startedAt } object (null when no download in flight); download_asset/download_verified_asset accept an optional cumulative-bytes progress callback; the task layer aggregates one monotonic counter across the binary, checksum, frontend dist, and dist checksum downloads (total known upfront from GitHub asset metadata). Degrades gracefully to the plain step message when progress data is absent. i18n keys (upgrade.downloadSpeed/downloadTotal/downloadEta/etaSeconds/etaMinutesSeconds) added for all 6 locales. (src/server/state.rs, src/upgrade/download.rs, src/server/api/upgrade/{task,start}.rs, frontend/src/components/Upgrade/UpgradeDialog.vue, frontend/src/types/upgrade.ts)