From: Dominik Csapak <d.csapak@proxmox.com>
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 [thread overview]
Message-ID: <20260923113757.2202858-1-d.csapak@proxmox.com> (raw)
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
next reply other threads:[~2026-09-23 11:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-23 11:35 Dominik Csapak [this message]
2026-09-23 11:35 ` [PATCH manager 1/3] api: factor out read_pwt_version and pwt_base_dir Dominik Csapak
2026-09-23 11:35 ` [PATCH manager 2/3] api: provide GUI versions via index and /cluster/resources Dominik Csapak
2026-09-23 11:35 ` [PATCH manager 3/3] ui: workspace: prompt user for reload when UI packages were updated Dominik Csapak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260923113757.2202858-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.