From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id D076A1FF0AB for ; Wed, 23 Sep 2026 13:38:33 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id EC477215A3; Wed, 23 Sep 2026 13:38:28 +0200 (CEST) From: Dominik Csapak To: pve-devel@lists.proxmox.com Subject: [PATCH manager 0/3] ui: prompt users for reload when web ui version changes Date: Wed, 23 Sep 2026 13:35:00 +0200 Message-ID: <20260923113757.2202858-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.296 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) POISEN_SPAM_PILL 0.1 Meta: its spam POISEN_SPAM_PILL_1 0.1 random spam to be learned in bayes POISEN_SPAM_PILL_3 0.1 random spam to be learned in bayes RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 4XUBYDNX3OVM6UGVALURNVZ52SQ2MTWK X-Message-ID-Hash: 4XUBYDNX3OVM6UGVALURNVZ52SQ2MTWK X-MailFrom: d.csapak@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On some updates (like recently with ceph), the UI has new or better information about backend states, but the user must reload the page to get the new version, which might not be obvious. To help users detect such outdated running UI versions, send the current one in the index and /cluster/resources api call for the node that the browser is connected to. The ui can then compare these and prompt the user to reload. Dominik Csapak (3): api: factor out read_pwt_version and pwt_base_dir api: provide GUI versions via index and /cluster/resources ui: workspace: prompt user for reload when UI packages were updated PVE/API2/Cluster.pm | 42 +++++++++++++++++++++++++ PVE/API2Tools.pm | 12 +++++++ PVE/Service/pveproxy.pm | 6 ++-- www/index.html.tpl | 6 +++- www/manager6/Workspace.js | 66 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 128 insertions(+), 4 deletions(-) -- 2.47.3