From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager 0/4] api/ui: show consistent remote icons
Date: Tue, 1 Dec 2026 16:12:04 +0100 [thread overview]
Message-ID: <20261201151531.3348382-1-d.csapak@proxmox.com> (raw)
We show different icons across the ui for the same remotes types:
* 'server' in the side-bar
* 'building' for pve in the configuration (and many other places)
* 'floppy' for pbs, but only in configuration
* 'building-o' in the updates tab for pbs
and so on.
This series aims to unify that and to use:
* 'server' for pve clusters with more than one node
* 'building' for pve standalone nodes
* 'floppy' for pbs in remote context
* 'building-o' for pbs nodes in a node context
For this we let the server determine the 'is cluster' state of a pve
remote (since it does the relevant api calls anyway) and bubble
that info to the ui via the remotes listing.
Dominik Csapak (4):
server: remote mapping: remember whether a pve remote is a cluster
api: remotes: report whether a remote is a cluster in the list
pdm-client: return the cluster flag with the remote list
ui: use consistent icons for the types of remotes
lib/pdm-api-types/src/remotes.rs | 20 +++++++
lib/pdm-client/src/lib.rs | 4 +-
server/src/api/remotes/mod.rs | 18 +++++--
.../tasks/remote_node_mapping.rs | 47 ++++++++++------
server/src/remote_cache/mod.rs | 33 ++++++++++--
server/tests/test_remote_home.rs | 2 +-
ui/src/configuration/subscription_registry.rs | 18 +++----
ui/src/dashboard/subscriptions_list.rs | 19 ++++++-
ui/src/folders/mod.rs | 5 +-
ui/src/guests.rs | 53 ++++++++++++++-----
ui/src/lib.rs | 35 +++++++++---
ui/src/main.rs | 4 +-
ui/src/main_menu.rs | 7 +--
ui/src/pbs/mod.rs | 4 +-
ui/src/pve/mod.rs | 27 ++++++++--
ui/src/pve/remote/mod.rs | 13 ++++-
ui/src/pve/tree.rs | 2 +-
ui/src/remotes/config.rs | 19 ++++---
ui/src/remotes/firewall/tree.rs | 14 ++++-
ui/src/remotes/firewall/types.rs | 6 ++-
ui/src/remotes/firewall/ui_helpers.rs | 13 +++--
ui/src/remotes/updates.rs | 25 +++++----
ui/src/renderer.rs | 11 ++++
ui/src/sdn/evpn/remote_tree.rs | 19 +++++--
ui/src/sdn/zone_tree.rs | 11 +++-
ui/src/widget/resource_tree.rs | 38 ++++++++-----
26 files changed, 346 insertions(+), 121 deletions(-)
--
2.47.3
next reply other threads:[~2026-12-01 15:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 15:12 Dominik Csapak [this message]
2026-12-01 15:12 ` [PATCH datacenter-manager 1/4] server: remote mapping: remember whether a pve remote is a cluster Dominik Csapak
2026-12-01 15:12 ` [PATCH datacenter-manager 2/4] api: remotes: report whether a remote is a cluster in the list Dominik Csapak
2026-12-01 15:12 ` [PATCH datacenter-manager 3/4] pdm-client: return the cluster flag with the remote list Dominik Csapak
2026-12-01 15:12 ` [PATCH datacenter-manager 4/4] ui: use consistent icons for the types of remotes Dominik Csapak
2026-12-01 18:29 ` applied: [PATCH datacenter-manager 0/4] api/ui: show consistent remote icons Thomas Lamprecht
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=20261201151531.3348382-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.