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
feat(desktop): drive updates from a sidebar button and one overlay
An Update button appears at the top of the sidebar as soon as a version the
user has not skipped is waiting. It opens a centered overlay that carries the
whole flow: the version and release date, a download that reports transferred
bytes against the total, a cancel that aborts the transfer mid-flight, and the
restart that applies it.
Cancel is new capability, not just UI. The main process now passes a
cancellation token to the downloader and keeps it for the lifetime of that
download, so an abort stops the transfer instead of letting it finish
unwatched. A cancelled download reports through the same error path as a real
failure, so the guard reads the token that owns the rejection rather than the
current one, and a retry started after a cancel cannot inherit the cancelled
download's failure.
Download and install remain two deliberate actions; the overlay shows a
restart step between them rather than chaining them.
The bottom-right update toast is removed. It duplicated the same progress in a
second place and could surface over the open overlay.
Add an Update button to the top of the desktop sidebar that opens a single overlay for the whole update: download it, watch the progress, cancel it mid-transfer, then restart to apply it.
0 commit comments