Fix visible watchlist refresh progress fill

This commit is contained in:
Dymas
2026-08-20 12:53:14 +02:00
parent 3e95252eb4
commit 3714e9b91e
5 changed files with 9 additions and 3 deletions
+4
View File
@@ -1,5 +1,9 @@
# Changelog # Changelog
## 0.52.17 - 2026-08-20
- Fixed the Watchlist refresh-all progress fill color so the advancing bar is visible.
## 0.52.16 - 2026-08-18 ## 0.52.16 - 2026-08-18
- Fixed the Watchlist refresh-all progress bar fill so it visibly advances as refresh progress updates arrive. - Fixed the Watchlist refresh-all progress bar fill so it visibly advances as refresh progress updates arrive.
+1 -1
View File
@@ -15,7 +15,7 @@ Kaizoku is a local web app for searching, tracking, and downloading anime from A
- Save files with Jellyfin-friendly layout: `TV/Series Name/Season 01/Series Name - S01E01.mp4`. - Save files with Jellyfin-friendly layout: `TV/Series Name/Season 01/Series Name - S01E01.mp4`.
- Save English external subtitles when the provider exposes usable subtitle tracks. - Save English external subtitles when the provider exposes usable subtitle tracks.
- Manage focused watchlists for `Watching`, `Planned`, `Finished`, and `Dropped`, with provider source tags and title links back to the original provider page. - Manage focused watchlists for `Watching`, `Planned`, `Finished`, and `Dropped`, with provider source tags and title links back to the original provider page.
- Periodically refresh selected watchlists with a single advancing progress bar and auto-download newly available episodes. - Periodically refresh selected watchlists with a single visible advancing progress bar and auto-download newly available episodes.
- Sync watchlist download flags from the filesystem. - Sync watchlist download flags from the filesystem.
- Hand completed libraries to Jellyfin TV or movie folders. - Hand completed libraries to Jellyfin TV or movie folders.
- Export/import watchlist backups. - Export/import watchlist backups.
+1 -1
View File
@@ -1 +1 @@
0.52.16 0.52.17
+2
View File
@@ -4304,6 +4304,8 @@ class TemplateHelperTests(unittest.TestCase):
def test_watchlist_page_renders_single_refresh_progress_bar(self): def test_watchlist_page_renders_single_refresh_progress_bar(self):
self.assertIn('class="refresh-progress" id="refreshJobStatus"', APP.WATCHLIST_HTML) self.assertIn('class="refresh-progress" id="refreshJobStatus"', APP.WATCHLIST_HTML)
self.assertIn('class="refresh-progress-fill" id="refreshJobFill"', APP.WATCHLIST_HTML) self.assertIn('class="refresh-progress-fill" id="refreshJobFill"', APP.WATCHLIST_HTML)
self.assertIn("linear-gradient(90deg, var(--accent), var(--accent-strong))", APP.WATCHLIST_HTML)
self.assertNotIn("var(--accent-2)", APP.WATCHLIST_HTML)
self.assertIn('role="progressbar"', APP.WATCHLIST_HTML) self.assertIn('role="progressbar"', APP.WATCHLIST_HTML)
self.assertIn("function refreshJobPercent(job)", APP.WATCHLIST_HTML) self.assertIn("function refreshJobPercent(job)", APP.WATCHLIST_HTML)
self.assertIn('$("refreshJobFill").style.transform = `scaleX(${percent / 100})`;', APP.WATCHLIST_HTML) self.assertIn('$("refreshJobFill").style.transform = `scaleX(${percent / 100})`;', APP.WATCHLIST_HTML)
+1 -1
View File
@@ -280,7 +280,7 @@ WATCHLIST_HTML = r"""<!doctype html>
overflow: hidden; overflow: hidden;
} }
.refresh-progress-fill { .refresh-progress-fill {
background: linear-gradient(90deg, var(--accent), var(--accent-2)); background: linear-gradient(90deg, var(--accent), var(--accent-strong));
border-radius: inherit; border-radius: inherit;
height: 100%; height: 100%;
transform: scaleX(0); transform: scaleX(0);