Remove sidebar help panels

This commit is contained in:
Codex
2026-08-09 13:45:36 +02:00
parent fa7a922d13
commit 1048b70ca8
6 changed files with 12 additions and 20 deletions
+5
View File
@@ -1,5 +1,10 @@
# Changelog # Changelog
## 0.52.1 - 2026-08-09
- Removed the Queue page “What you can do here” sidebar section.
- Removed the Watchlist page “How it works” sidebar section.
## 0.52.0 - 2026-08-09 ## 0.52.0 - 2026-08-09
- Removed remaining legacy app branding from the UI, runtime settings, cookies, Docker files, ignores, README, and active tests. - Removed remaining legacy app branding from the UI, runtime settings, cookies, Docker files, ignores, README, and active tests.
+1 -1
View File
@@ -13,7 +13,7 @@ Kaizoku is a local web app for searching, tracking, and downloading anime from A
- Fall back across the other configured providers when an episode or stream cannot be resolved on the primary provider. - Fall back across the other configured providers when an episode or stream cannot be resolved on the primary provider.
- 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 watchlists for `Watching`, `Planned`, `Finished`, and `Dropped`. - Manage focused watchlists for `Watching`, `Planned`, `Finished`, and `Dropped`.
- Periodically refresh selected watchlists and auto-download newly available episodes. - Periodically refresh selected watchlists 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.
+1 -1
View File
@@ -1 +1 @@
0.52.0 0.52.1
+1 -9
View File
@@ -171,7 +171,7 @@ QUEUE_HTML = r"""<!doctype html>
color: var(--text); color: var(--text);
background: rgba(255, 255, 255, 0.05); background: rgba(255, 255, 255, 0.05);
} }
.queue, .highlights { .queue {
display: grid; display: grid;
gap: 10px; gap: 10px;
min-width: 0; min-width: 0;
@@ -352,14 +352,6 @@ QUEUE_HTML = r"""<!doctype html>
<button class="ghost" id="removeFinishedBtn" type="button">Remove finished</button> <button class="ghost" id="removeFinishedBtn" type="button">Remove finished</button>
</div> </div>
</section> </section>
<section class="panel highlights">
<div>
<h2>What you can do here</h2>
<p class="muted">Search stays focused on finding shows and adding new jobs. Queue now handles status, logs, retries, and cleanup as a separate workflow.</p>
</div>
<span class="badge">Active jobs update every 2.5s</span>
</section>
</aside> </aside>
<main> <main>
+4
View File
@@ -3959,6 +3959,10 @@ class TemplateHelperTests(unittest.TestCase):
self.assertIn('/api/queue/clear-failed', APP.QUEUE_HTML) self.assertIn('/api/queue/clear-failed', APP.QUEUE_HTML)
self.assertIn('Removed failed jobs', APP.QUEUE_HTML) self.assertIn('Removed failed jobs', APP.QUEUE_HTML)
def test_queue_and_watchlist_sidebars_do_not_show_help_panels(self):
self.assertNotIn("What you can do here", APP.QUEUE_HTML)
self.assertNotIn("How it works", APP.WATCHLIST_HTML)
def test_queue_page_formats_jellyfin_handoff_jobs(self): def test_queue_page_formats_jellyfin_handoff_jobs(self):
self.assertIn('job.job_type === "jellyfin_handoff"', APP.QUEUE_HTML) self.assertIn('job.job_type === "jellyfin_handoff"', APP.QUEUE_HTML)
self.assertIn('const progress = `${job.completed || 0}/${job.total || 0} entries`;', APP.QUEUE_HTML) self.assertIn('const progress = `${job.completed || 0}/${job.total || 0} entries`;', APP.QUEUE_HTML)
-9
View File
@@ -704,15 +704,6 @@ WATCHLIST_HTML = r"""<!doctype html>
"Watch tracking, refreshes, and automatic downloads.", "Watch tracking, refreshes, and automatic downloads.",
"Watchlist", "Watchlist",
) + render_page_links("watchlist") + r""" ) + render_page_links("watchlist") + r"""
<section class="settings">
<h2>How it works</h2>
<div class="stack muted">
<p>Use Refresh to pull the latest sub and dub episode counts for a single show.</p>
<p>Use Download all to queue every currently available episode after choosing sub or dub.</p>
<p>Refresh All updates your whole tracked list in one pass.</p>
</div>
</section>
</aside> </aside>
<main> <main>