ulysses/static
Lucas Daniel 1d99429ba0
fix(cookbook): prevent auto-retry from restarting user-stopped downloads (#1778)
Two related bugs in the Cookbook task lifecycle:

1. "Stop all" fired kills via .click() inside a synchronous forEach but
   showed the success toast immediately after — the toast appeared before
   any of the async kill requests had been sent, giving the user false
   confidence the tasks were stopped.

2. The download auto-retry logic (triggered when DOWNLOAD_FAILED appears
   in the task output) had no way to distinguish a network interruption
   from a deliberate user stop. A download stopped via "Stop all" or the
   individual Stop button could be silently restarted up to two times by
   the background monitor.

Fix: persist _userStopped: true to localStorage at the moment the user
clicks Stop (individually) or Stop all. The auto-retry guard checks this
flag before relaunching the download. The flag is written BEFORE the
kill requests fire so there is no window where the monitor can race.

Fixes #1458
2026-06-03 13:22:39 +09:00
..
fonts Odysseus v1.0 2026-05-31 23:58:26 +09:00
js fix(cookbook): prevent auto-retry from restarting user-stopped downloads (#1778) 2026-06-03 13:22:39 +09:00
lib Odysseus v1.0 2026-05-31 23:58:26 +09:00
app.js fix(ui): add missing Escape key handlers for email-lib-modal, model-picker-menu, and sort dropdowns (#1487) 2026-06-03 08:14:27 +09:00
index.html Models: add Z.AI coding endpoint and GLM vision detection 2026-06-02 20:59:17 +09:00
landing.html feat: Add mobile hamburger navigation menu and toggle functionality 2026-06-01 15:57:01 +04:00
login.html Improve accessibility across core flows (#86) 2026-06-01 22:04:00 +02:00
manifest.json Odysseus v1.0 2026-05-31 23:58:26 +09:00
style.css fix(ui): stop welcome-screen tip from clipping on narrow phones (#1612) 2026-06-03 08:37:23 +09:00
sw.js Odysseus v1.0 2026-05-31 23:58:26 +09:00