Skip to content

Bring the Downloading update dialog back after a page reload or reopened window #396

Done

Description

@jtklein-agents

Parent

#393

What to build

A page that starts mid-Update download shows the Downloading update dialog at the current state without waiting for the next progress event. This covers a reload (for example from the reload menu item) and a macOS window reopened from the Dock while the download runs.

New one-shot rendererBridge call getUpdateDownload() on a new channel (ipcMain.handle, like getVersion), resolving main's held UpdateDownload state. Channel name in the shared ipc constants; RendererBridge and the global Window typing gain the method. The store calls it once at startup to seed its state, next to the onUpdateDownload subscription.

Acceptance criteria

  • getUpdateDownload() exposed on rendererBridge, handled in main from the held state, typed on RendererBridge and Window, channel in the shared ipc constants
  • Preload one-shot proof file for getUpdateDownload
  • Store seeds its state from getUpdateDownload() once at startup
  • Page test: a getUpdateDownload stub resolving downloading opens the dialog with no event pushed
  • One exposes sentence and one behaviour sentence for getUpdateDownload in the preload paragraph of docs/research/electron-vite-packaging.md

Activity

  1. added
    ready-for-agent
    on Nov 27, 2026
  2. jtklein-agents commented on Nov 27, 2026

    @jtklein-agents
    OwnerAuthor

    Done in #399 (merged into spec/393-update-download-progress). Not done: the two docs sentences — docs/research/electron-vite-packaging.md is not on the spec branch (only on origin/research/electron-vite-packaging).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions