Fix visible watchlist refresh progress fill
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# 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
|
||||
|
||||
- Fixed the Watchlist refresh-all progress bar fill so it visibly advances as refresh progress updates arrive.
|
||||
|
||||
@@ -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 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.
|
||||
- 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.
|
||||
- Hand completed libraries to Jellyfin TV or movie folders.
|
||||
- Export/import watchlist backups.
|
||||
|
||||
@@ -4304,6 +4304,8 @@ class TemplateHelperTests(unittest.TestCase):
|
||||
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-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("function refreshJobPercent(job)", APP.WATCHLIST_HTML)
|
||||
self.assertIn('$("refreshJobFill").style.transform = `scaleX(${percent / 100})`;', APP.WATCHLIST_HTML)
|
||||
|
||||
+1
-1
@@ -280,7 +280,7 @@ WATCHLIST_HTML = r"""<!doctype html>
|
||||
overflow: hidden;
|
||||
}
|
||||
.refresh-progress-fill {
|
||||
background: linear-gradient(90deg, var(--accent), var(--accent-2));
|
||||
background: linear-gradient(90deg, var(--accent), var(--accent-strong));
|
||||
border-radius: inherit;
|
||||
height: 100%;
|
||||
transform: scaleX(0);
|
||||
|
||||
Reference in New Issue
Block a user