Skip to content

feat(desktop): show the transfer rate while downloading an update - #3994

Open
renningg wants to merge 2 commits into
goat-si:devfrom
renningg:feat/update-download-rate
Open

renningg wants to merge 2 commits into
goat-si:devfrom
renningg:feat/update-download-rate

Conversation

@renningg

@renningg renningg commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Problem

During a desktop update, the card can show the same percentage for a while on a slow connection. Electron already reports the transfer rate, but GOAT drops that part of each progress event.

Change

Show the reported average transfer rate next to the download percentage in the update card and the sidebar and About button tooltips. The units follow the app language. A desktop that only sends percentages keeps the existing display.

Changes in speed can refresh the UI once per second between the existing progress milestones. Rates belong to the current download attempt and are cleared on retry, failure, completion or a missing sample.

The card uses a slim, rounded progress bar that follows the active theme.

Scope and approval

This adds one optional measurement to the existing desktop download progress event. It uses the native updater's estimate and the existing progress UI.

Verification

  • Exercised the native event handler with a slow download, closely spaced range events, an invalid speed sample, cancellation and a late native event. Checked backward compatibility with the previous IPC payload.
  • Verified the rate formatter across the nine supported app languages and the percent-only fallback in the sidebar browser test.
  • In a macOS Electron client with an isolated profile, replayed native progress samples from a throttled localhost HTTP transfer through the desktop bridge. The card showed the two measured rates and returned to percentage-only when the next sample had no rate.
  • Checked light, dark, high contrast and indeterminate download states in Electron.
  • Ran the focused tests and vp run check:changed.

Screenshots

Before

Downloading with percentage

After, in light and dark themes

Download card in light mode

Download card in dark mode

Two transfer samples followed by one without a rate

Download progress changing during the transfer

renningg added a commit to renningg/goat that referenced this pull request Nov 27, 2026
renningg added a commit to renningg/goat that referenced this pull request Nov 27, 2026

This branch has not been deployed

No deployments
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.

1 participant