Split queue into dedicated page

This commit is contained in:
Dymas
2026-05-22 23:17:00 +02:00
parent 9d4baea057
commit fe094a7112
11 changed files with 522 additions and 211 deletions
+26 -5
View File
@@ -2,7 +2,7 @@
Small local web UI for a system-wide `ani-cli` install.
Current version: `0.34.0`
Current version: `0.35.0`
## Project Layout
@@ -18,6 +18,7 @@ ani-cli-web/
http_handler.py HTTP routing and access control.
web_templates.py Shared page aggregation.
search_page.py Search page template.
queue_page.py Queue page template.
config_page.py Config page template.
watchlist_page.py Watchlist page template.
docker-entrypoint.sh Container startup wrapper.
@@ -143,9 +144,27 @@ Use it to:
Highlights:
- Live queue view with automatic polling.
- Queue log shows newest lines first.
- Search polling avoids overlapping requests and stale responses.
- Search stays focused on finding shows, loading episodes, and queueing new downloads.
- Added-to-queue notices now point to the dedicated Queue page for progress tracking.
- Search request guards still avoid stale responses overwriting newer results.
### Queue Page
Path: `/queue`
Use it to:
1. Monitor active, pending, failed, and finished download jobs.
2. Inspect recent per-job logs with newest lines first.
3. Retry failed jobs.
4. Remove finished jobs.
5. Cancel running or pending jobs.
Highlights:
- Automatic queue polling every 2.5 seconds.
- Dedicated queue pagination and cleanup controls.
- Search and queue workflows are now separated into distinct pages.
### Config Page
@@ -256,7 +275,9 @@ The app stores the token in an HTTP-only cookie and redirects to the clean URL.
## Download Queue
The queue is stored in SQLite and shown 10 jobs at a time.
Path: `/queue`
The queue is stored in SQLite, shown 10 jobs at a time, and managed from its dedicated page.
Available actions: