wrolpi/app/src/hooks
lrnselfreliance d75be8e1a4
Download forms: allow a frequency of "Once" (#804)
* app: a download frequency of "Once" no longer blocks submission

useForm treated any falsy value as a missing required field.  "Once" is
frequency 0, so the Channel/Playlist, RSS, and Zim download forms never
became ready and the Download button stayed disabled.  Only null,
undefined, '', false, and NaN count as missing now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* downloads: editing to "Once" stores a once-download, not frequency 0

Once-downloads have a NULL frequency.  A 0 frequency counted as recurring
(frequency != None) but could never be scheduled (not frequency), so an
edited download stayed on the recurring list and could break renewal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 15:00:24 -06:00
..
customHooks.js Resume videos and audio where the user left off; show progress on cards (#791) 2026-10-08 17:29:22 -06:00
customHooks.test.js Resume videos and audio where the user left off; show progress on cards (#791) 2026-10-08 17:29:22 -06:00
useFileProgress.js Resume EPUBs and comic books where the reader left off (#798) 2026-10-08 18:19:51 -06:00
useFileProgress.test.js Resume EPUBs and comic books where the reader left off (#798) 2026-10-08 18:19:51 -06:00
useForm.js Download forms: allow a frequency of "Once" (#804) 2026-10-09 15:00:24 -06:00
useForm.test.js Download forms: allow a frequency of "Once" (#804) 2026-10-09 15:00:24 -06:00
useKeyboardShortcuts.test.js ui: Common.js and thirteen more files off Semantic 2026-08-08 18:04:00 -06:00
useLatestRequest.test.js app: useLatestRequest reports loading before the debounce (#725) 2026-09-25 14:05:08 -06:00
useOverflowNav.js ui: the corner triggers, the More button, and the search modal 2026-08-08 18:05:49 -06:00
useSubsystemToggle.test.js app: status and settings contexts say whether their first poll landed (#734) 2026-09-26 17:25:46 -06:00