From e098708398eb36b0a976a6d6f8ae989855800d48 Mon Sep 17 00:00:00 2001 From: xRangerDE Date: Sun, 10 May 2026 20:20:42 +0200 Subject: [PATCH] feat: stats-bar pause-on-hidden + bulk-mark downloaded + title tooltip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three Phase-13 wins. 1. Stats bar polling pauses while document.hidden. Previously setInterval(updateStatsBar, 5000) ran forever, including while the user had a different tab focused or the window minimised. Now wraps start/stopStatsBarPolling and listens to visibilitychange. When the page becomes visible the interval restarts; while hidden it sleeps. Saves an IPC round-trip every 5s when nobody's looking. 2. Bulk mark / unmark "as downloaded" on the VOD bulk-bar. Companion to the per-card right-click context menu's mark/unmark items — when the user has 5 VODs selected they now get one click to toggle the green check on all of them instead of right-clicking each. Uses the existing markVodDownloaded IPC, refreshes the local config copy + re-renders the grid so badges update live. 3. VOD card title tooltip. The card title is text-overflow:ellipsis so longer titles get cut off. Adding title="${full title}" surfaces the full text on hover via the native browser tooltip — no custom UI needed. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/index.html | 4 +++- src/renderer-locale-de.ts | 4 ++++ src/renderer-locale-en.ts | 4 ++++ src/renderer-streamers.ts | 30 +++++++++++++++++++++++++++++- src/renderer-texts.ts | 2 ++ src/renderer.ts | 26 +++++++++++++++++++++++--- 6 files changed, 65 insertions(+), 5 deletions(-) diff --git a/src/index.html b/src/index.html index a1d8060..1904f1c 100644 --- a/src/index.html +++ b/src/index.html @@ -266,10 +266,12 @@ Hide downloaded -