Twitch-VOD-Manager/src
xRangerDE 7994a02bb1 cleanup: .is-hidden utility — replaces 3 toggle-display patterns across queue + streamers
Three runtime-toggled elements were each using a slightly different inline display value to flip between visible/hidden:
- vodFilterClearBtn: button, .style.display = '' / 'none'
- btnMergeGroup: button, .style.display = '' / 'none'
- vodBulkBar: div, .style.display = 'flex' / 'none'

Plus each carried an inline style="display:none;" in HTML to start hidden.

Added a single .is-hidden utility class (display:none !important) that hides any element regardless of its natural display type, and:
- HTML now uses class="... is-hidden" instead of style="display:none"
- JS toggles with classList.toggle('is-hidden', !shouldShow) instead of poking at .style.display
- .vod-bulk-bar gets an explicit display:flex in its base rule (was implicit via the JS flip; now declared)

Comment on .vod-bulk-bar animation updated since the trigger is now ".is-hidden removed" rather than "JS sets display:flex".

Net: 3 inline style="display:none" attrs gone from HTML, 4 .style.display assignments gone from TS. Single utility class handles the same job for all three plus any future show/hide toggle.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 10:16:21 +02:00
..
index.html cleanup: .is-hidden utility — replaces 3 toggle-display patterns across queue + streamers 2026-05-11 10:16:21 +02:00
main.ts observability: auto-updater lifecycle events go through appendDebugLog, not console.log 2026-05-11 06:21:35 +02:00
preload.ts perf: trim live-status batch IPC payload + skip empty broadcasts 2026-05-11 02:33:09 +02:00
renderer-archive.ts cleanup: dedupe formatBytes — renderer-stats + renderer-archive copies hoist to renderer-shared 2026-05-11 09:45:10 +02:00
renderer-globals.d.ts perf: trim live-status batch IPC payload + skip empty broadcasts 2026-05-11 02:33:09 +02:00
renderer-locale-de.ts i18n: localize 3 placeholders that stayed in German under English 2026-05-11 08:54:08 +02:00
renderer-locale-en.ts i18n: localize 3 placeholders that stayed in German under English 2026-05-11 08:54:08 +02:00
renderer-profile.ts cleanup: consolidate applyHtml + escapeHtml — 3 file-scoped copies dedupe to renderer-shared 2026-05-11 09:39:43 +02:00
renderer-queue.ts cleanup: .is-hidden utility — replaces 3 toggle-display patterns across queue + streamers 2026-05-11 10:16:21 +02:00
renderer-settings.ts a11y: focus-visible on .streamer-profile-btn + type=button on storage open btn 2026-05-11 08:27:38 +02:00
renderer-shared.ts cleanup: dedupe formatBytes — renderer-stats + renderer-archive copies hoist to renderer-shared 2026-05-11 09:45:10 +02:00
renderer-stats.ts cleanup: dedupe formatBytes — renderer-stats + renderer-archive copies hoist to renderer-shared 2026-05-11 09:45:10 +02:00
renderer-streamers.ts cleanup: .is-hidden utility — replaces 3 toggle-display patterns across queue + streamers 2026-05-11 10:16:21 +02:00
renderer-texts.ts i18n: localize 3 placeholders that stayed in German under English 2026-05-11 08:54:08 +02:00
renderer-updates.ts cleanup: centralise localStorage try/catch in renderer-shared — safeLocalStorageGet/Set/Remove 2026-05-11 07:33:23 +02:00
renderer-vod-hover.ts perf: bound the renderer-side VOD storyboard cache (FIFO 100) 2026-05-11 04:08:42 +02:00
renderer.ts cleanup: .cutter-info + .timeline-container .shown modifiers — 4 inline display references gone 2026-05-11 10:10:32 +02:00
styles.css cleanup: .is-hidden utility — replaces 3 toggle-display patterns across queue + streamers 2026-05-11 10:16:21 +02:00
tools.ts refactor: extract tool discovery functions to src/tools.ts 2026-03-20 10:00:51 +01:00
types.ts feat: live recording health indicator (green/amber dot per item) 2026-05-10 22:04:53 +02:00
update-version-utils.ts chore: migrate repository to Codeberg, bump version to 4.2.0, update update logic 2026-03-01 20:23:21 +01:00