Make backup toggle visible on config page

- replace the hard-to-spot backup downloader select with a dedicated checkbox toggle
- bump the project version to 0.46.2
- add the follow-up release note and sync the README version
This commit is contained in:
Dymas
2026-07-09 13:11:55 +02:00
parent 4dd56b72f6
commit 26d85a9d73
4 changed files with 14 additions and 9 deletions
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## 0.46.2 - 2026-07-09
- Changed the backup downloader setting on the Config page from a hard-to-spot select field into a dedicated checkbox toggle so the enable/disable control is clearly visible.
## 0.46.1 - 2026-07-09
- Added a Config-page backup download toggle that lets queue jobs retry failed `ani-cli` downloads automatically with `anikoto-cli`.
+1 -1
View File
@@ -2,7 +2,7 @@
Local web UI for a system-wide `ani-cli` install.
Current version: `0.46.1`
Current version: `0.46.2`
## What it does
+1 -1
View File
@@ -1 +1 @@
0.46.1
0.46.2
+8 -7
View File
@@ -503,11 +503,12 @@ CONFIG_HTML = r"""<!doctype html>
<option value="480">480p</option>
</select>
</label>
<label>Backup downloader
<select id="downloadBackupEnabled">
<option value="false">Disabled</option>
<option value="true">Enabled</option>
</select>
</div>
<div class="stack">
<label>Backup downloader</label>
<label class="check-item" for="downloadBackupEnabled">
<input id="downloadBackupEnabled" type="checkbox">
<span>Retry failed `ani-cli` downloads with `anikoto-cli`</span>
</label>
</div>
<div class="field-hint">Tip: these are the saved defaults only. The active search form can still be adjusted per download. When backup downloads are enabled, failed `ani-cli` jobs retry automatically with `anikoto-cli`.</div>
@@ -740,7 +741,7 @@ CONFIG_HTML = r"""<!doctype html>
download_dir: $("downloadDir").value,
mode: $("configMode").value,
quality: $("configQuality").value,
download_backup_enabled: $("downloadBackupEnabled").value === "true",
download_backup_enabled: $("downloadBackupEnabled").checked,
watchlist_auto_refresh_enabled: $("watchlistAutoRefreshEnabled").value === "true",
watchlist_auto_refresh_minutes: $("watchlistAutoRefreshMinutes").value,
watchlist_refresh_delay_seconds: $("watchlistRefreshDelaySeconds").value,
@@ -760,7 +761,7 @@ CONFIG_HTML = r"""<!doctype html>
$("downloadDir").value = data.download_dir;
$("configMode").value = data.mode;
$("configQuality").value = data.quality;
$("downloadBackupEnabled").value = String(Boolean(data.download_backup_enabled));
$("downloadBackupEnabled").checked = Boolean(data.download_backup_enabled);
$("watchlistAutoRefreshEnabled").value = String(Boolean(data.watchlist_auto_refresh_enabled));
$("watchlistAutoRefreshMinutes").value = data.watchlist_auto_refresh_minutes;
$("watchlistRefreshDelaySeconds").value = data.watchlist_refresh_delay_seconds;