public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH datacenter-manager 0/4] api/ui: show consistent remote icons
@ 2026-12-01 15:12 Dominik Csapak
  2026-12-01 15:12 ` [PATCH datacenter-manager 1/4] server: remote mapping: remember whether a pve remote is a cluster Dominik Csapak
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Dominik Csapak @ 2026-12-01 15:12 UTC (permalink / raw)
  To: pdm-devel

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-12-01 18:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 15:12 [PATCH datacenter-manager 0/4] api/ui: show consistent remote icons Dominik Csapak
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal