Show found desktop updates after manual checks (#1815)
* fix(desktop): report found app updates during manual checks Manual checks could reuse cached update state while the renderer discarded pending update details. Keep found update versions visible while downloads prepare, and reserve install affordances for ready updates. * test(desktop): cover manual update retry after errors * fix(desktop): keep ready updates ready on recheck
This commit is contained in:
@@ -524,6 +524,12 @@ describe("translation resources", () => {
|
||||
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.pendingWithVersion).toBe(
|
||||
"Update found: {{version}}. Downloading...",
|
||||
);
|
||||
expect(en.desktop.updates.status.pendingWithVersionAndLastChecked).toBe(
|
||||
"Update found: {{version}}. Downloading... 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}}.",
|
||||
|
||||
Reference in New Issue
Block a user