From dd5efcbfe652b40d339c07f04f1fcecece6810a6 Mon Sep 17 00:00:00 2001 From: xRangerDE Date: Mon, 11 May 2026 10:38:07 +0200 Subject: [PATCH] =?UTF-8?q?cleanup:=20finish=20.is-hidden=20migration=20in?= =?UTF-8?q?=20renderer-updates=20=E2=80=94=20all=20.style.display=20gone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Completes the renderer-updates display-toggle migration started in 4.6.137. Five more elements (updateChangelogCard, updateModalSkipBtn, updateModalMeta, updateProgress in two more code paths) were still using inline .style.display / inline display checks. Each has been switched to: - classList.add/remove/toggle('is-hidden') for writes - classList.contains('is-hidden') for the two state-reads (refreshUpdateChangelogToggleText, toggleUpdateChangelog) Plus the two remaining inline style="display:none;" HTML attributes (updateModalMeta + updateChangelogCard) moved to class="... is-hidden". After this: renderer-updates.ts has zero .style.display references — the entire update-banner + update-modal visibility surface is class-driven. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/index.html | 4 ++-- src/renderer-updates.ts | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/index.html b/src/index.html index 67639f9..3dbde24 100644 --- a/src/index.html +++ b/src/index.html @@ -24,9 +24,9 @@
Updates

Update verfugbar

Version 0.0.0 ist verfugbar. Jetzt herunterladen?

- + -