From 5a93fc03eaacb56367c6d9420c9116b55fd6f3ea Mon Sep 17 00:00:00 2001 From: Thales <> Date: Tue, 29 Sep 2026 14:16:17 +0100 Subject: [PATCH] fix: say in the update dialog when a release is a full download (#720) A release that changes the Python dependencies cannot be applied by the one-click update, which keeps the installed runtime. The dialog then showed only Download with nothing to say why, so a missing "Update now" read as a broken update. When the updater stands down for that reason, and only that one, a line above the buttons says the download is a full package to unzip and run, and that the library stays as it is. In all eleven tables. --- static/css/daw.css | 2 + static/index.html | 1 + static/js/catalog.js | 10 +++ static/js/i18n.js | 11 ++++ tests/e2e/release-full-download.spec.mjs | 81 ++++++++++++++++++++++++ 5 files changed, 105 insertions(+) create mode 100644 tests/e2e/release-full-download.spec.mjs diff --git a/static/css/daw.css b/static/css/daw.css index 64695e49..8370923a 100644 --- a/static/css/daw.css +++ b/static/css/daw.css @@ -3728,6 +3728,7 @@ input, textarea { font-family: inherit; } } .release-inapp-progress-text { margin: 0; font-size: 11px; color: var(--muted); } .release-inapp-error { margin: 0; font-size: 12px; color: #e54e4e; } +.release-full-download { margin: 0 0 12px; font-size: 13px; line-height: 1.45; text-align: left; color: var(--fg); } /* The release dialog lives outside `.daw`, so the scoped `.daw .hidden` rule does not reach its inner elements and base.css's global `.hidden` is not @@ -3738,6 +3739,7 @@ input, textarea { font-family: inherit; } .release-inapp.hidden, .release-inapp-progress.hidden, .release-inapp-error.hidden, +.release-full-download.hidden, .release-card .about-link.hidden { display: none !important; } diff --git a/static/index.html b/static/index.html index 517587e0..6c353e35 100644 --- a/static/index.html +++ b/static/index.html @@ -1204,6 +1204,7 @@

New release available

+