feat(web): show update download progress in sidebar - #6467
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Approved cf2be5a This PR adds a visual download progress ring to the sidebar update button, using existing You can customize Macroscope's approvability policy. Learn more. |
What Changed
Added a circular download progress indicator around the existing desktop update button in the sidebar.
The progress ring is shown only while the update state is
downloadingand uses the existingdownloadPercentvalue. The existing download icon remains centered inside the button.Once the download completes, the progress ring disappears and the existing restart/install icon is shown as before.
This is a UI-only change. It does not modify the updater, IPC contract, preload API, update state machine, or the existing ~10% progress update cadence.
Why
Download progress is already tracked and displayed in the update tooltip, but there is no visible progress feedback unless the user hovers the button.
Showing that existing progress as a small ring around the update control makes it immediately clear that the download is active and progressing without adding any new update plumbing or behavior.
Closes #6459
UI Changes
Before
The download button remains visually static while the update is downloading.
After
The existing download icon is surrounded by a circular progress indicator while the update is downloading.
Checklist
Note
Low Risk
UI-only sidebar component refactor; update behavior and contracts are unchanged.
Overview
Adds a circular SVG progress ring around the desktop sidebar update button while
statusisdownloading, driven by the existing clampeddownloadPercent(no updater or IPC changes).The same change refactors
SidebarUpdatePill: desktop bridge download/install/check flows and error toasts move into small helpers, tooltip copy is centralized, and update-available tooltip styling uses a shared constant. Minor class tweaks (relativeon the button,wrap-break-wordon release notes).Reviewed by Cursor Bugbot for commit cf2be5a. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Show download progress ring around the update button in the sidebar
DownloadProgressRingSVG component that renders a circular progress indicator around the sidebar update button while an update is downloading, driven by the current download percent (clamped 0–100).getSidebarUpdateTooltipbased onDesktopUpdateStaterather than inline logic.Macroscope summarized c9234b6.