mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
downloads: surface daily-limit stall to users
Add daily_limit_reached to the DownloadManager summary (/api/status): True when due (new, non-recurring) downloads exist and every one of them is blocked by the global or per-domain daily download limit. Show a "Max Daily Downloads Reached" banner on the Downloads page when set (and the manager is neither disabled nor stopped). Previously a queue stalled by the daily limit looked broken: the UI reported 0 pending with no explanation, and the skip reason was only visible at DEBUG log level. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
2baa9cbd2e
commit
a4eeba14ee
4 changed files with 84 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ import {
|
|||
APIButton,
|
||||
CookiesLockedMessage,
|
||||
DisableDownloadsToggle,
|
||||
DailyLimitMessage,
|
||||
DownloadWindowMessage,
|
||||
ErrorMessage,
|
||||
formatFrequency,
|
||||
|
|
@ -684,6 +685,7 @@ export function DownloadsPage() {
|
|||
return <>
|
||||
<WROLModeMessage content='Downloads are disabled because WROL Mode is enabled.'/>
|
||||
<DownloadWindowMessage/>
|
||||
<DailyLimitMessage/>
|
||||
<DisableDownloadsToggle/>
|
||||
<CookiesLockedMessage/>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue