Show desktop update check feedback (#1808)

* fix(desktop): show app update check feedback

Manual desktop app update checks now leave visible status feedback even when the shared update state is pending or available. Updater check and preparation errors are carried through the existing result path so the settings row and callout can show the failure instead of only logging it.

* fix(desktop): make update retries perform fresh checks

Manual retries now clear runtime errors emitted by a failed check so the next click calls the updater again. Background checks also skip while a visible manual check is active, and last-checked update copy uses complete localized strings.

* fix(desktop): punctuate update check timestamp copy

* fix(desktop): share runtime update errors

* fix(desktop): preserve update preparation errors

* fix(desktop): settle update check review races

* fix(desktop): settle quiet update check errors

* fix(desktop): handle overlapping update checks

* fix(desktop): preserve preparation errors during checks
This commit is contained in:
Mohamed Boudra
2026-06-29 21:00:42 +02:00
committed by GitHub
parent efd7ab3420
commit 111fdb81fd
15 changed files with 628 additions and 8 deletions
+9
View File
@@ -521,8 +521,17 @@ describe("translation resources", () => {
expect(en.desktop.updates.status.installing).toBe("Installing app update...");
expect(en.desktop.updates.status.upToDate).toBe("App is up to date.");
expect(en.desktop.updates.status.pending).toBe("We'll let you know when the update is ready.");
expect(en.desktop.updates.status.pendingWithLastChecked).toBe(
"We'll let you know when the update is ready. Last checked at {{time}}.",
);
expect(en.desktop.updates.status.availableWithVersion).toBe("Update ready: {{version}}");
expect(en.desktop.updates.status.availableWithVersionAndLastChecked).toBe(
"Update ready: {{version}}. Last checked at {{time}}.",
);
expect(en.desktop.updates.status.available).toBe("An app update is ready to install.");
expect(en.desktop.updates.status.availableWithLastChecked).toBe(
"An app update is ready to install. Last checked at {{time}}.",
);
expect(en.desktop.updates.status.installed).toBe("App update installed. Restart required.");
expect(en.desktop.updates.status.failed).toBe("Failed to update app.");
expect(en.desktop.updates.status.idle).toBe("Update status has not been checked yet.");