From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager/proxmox-yew-comp 0/2] ui: remote updates: reload the details of a node in place
Date: Mon, 30 Nov 2026 10:44:53 +0100 [thread overview]
Message-ID: <20261130094500.972447-1-d.csapak@proxmox.com> (raw)
In the remote updates panel, the details of the selected node (the
repository status and the list of updates) were empty for a moment every
5 seconds.
Both components were recreated whenever the 'last_refresh' of the node's
summary changed. Since loading the list of updates refreshes the summary
of that node too, that was the case after every reload of the summary.
The proxmox-yew-comp patch adds a 'reload_generation' property to the
apt package manager and the apt repositories component, which lets them
load their data again while keeping the old content until the new one
arrives. A change of the property is ignored while a load is still
ongoing, so that the loads don't pile up.
The proxmox-datacenter-manager patch uses that to reload them after each
load of the summary, and only recreates them when another node is
selected. It needs the proxmox-yew-comp patch for the new property.
For users that can list the updates of the node, this does not increase
how often the remote is queried, since the components were recreated
(and thus loaded their data) just as often before. For a slow remote it
is less often now, as a reload is skipped while the previous one is
still ongoing.
proxmox-yew-comp:
Dominik Csapak (1):
apt package manager/repositories: add 'reload_generation' property
src/apt_package_manager.rs | 11 ++++++++++-
src/apt_repositories.rs | 7 +++++++
2 files changed, 17 insertions(+), 1 deletion(-)
proxmox-datacenter-manager:
Dominik Csapak (1):
ui: remote updates: reload the details of a node in place
ui/src/remotes/updates.rs | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Summary over all repositories:
3 files changed, 25 insertions(+), 4 deletions(-)
--
Generated by murpp 0.11.0
next reply other threads:[~2026-11-30 9:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 9:44 Dominik Csapak [this message]
2026-11-30 9:44 ` [PATCH proxmox-yew-comp 1/2] apt package manager/repositories: add 'reload_generation' property Dominik Csapak
2026-11-30 9:44 ` [PATCH datacenter-manager 2/2] ui: remote updates: reload the details of a node in place 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=20261130094500.972447-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pdm-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.