public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Lukas Wagner" <l.wagner@proxmox.com>
To: "Dominik Csapak" <d.csapak@proxmox.com>, <pdm-devel@lists.proxmox.com>
Subject: Re: [PATCH datacenter-manager v2 0/9] refactor and partially fix #7371
Date: Thu, 20 Aug 2026 13:08:39 +0200	[thread overview]
Message-ID: <DKTQ2PY41J6C.XRLQ7X7JJZZF@proxmox.com> (raw)
In-Reply-To: <20260818133000.3793412-1-d.csapak@proxmox.com>

On Tue Aug 18, 2026 at 3:25 PM CEST, Dominik Csapak wrote:
> the first 6 patches are pure refactors and should not change anything
> user visible, could be applied independently.
>
> patch 7-9 partially fix #7371 by showing the HA maintenance status
> of PVE nodes in various places.
>
> changes from v1:
> * fixed some display problems: NaN% when maxmem was set to 0.0,
>   0.0% cpu when the node was offline, fixed by not showing values for
>   offline nodes
> * add a new patch for showing tha badge too in the node card's title
> * various typo fixes
> * added #[serde(default)] to the new hastate field to allow
>   deserialization from older versions
> * some smaller fixes  (left over comments, naming, etc.)
>
> Dominik Csapak (9):
>   lib: api types: add new ResourceView type and move accessors there
>   lib: api types: resource: add 'node' helper to ResourceView
>   lib: api types: add guest specific getter to ResourceView
>   ui: pve: factor out the pve-manager version extraction
>   ui: renderer: use ResourceView for rendering
>   ui: pve: tree: reuse `PveResource` for `PveTreeNode`
>   ui: pve: show ha maintenance mode for nodes
>   ui: pve: node selector: show maintenance badge with node name
>   ui: pve: node: show HA maintenance badge
>
>  lib/pdm-api-types/src/resource.rs  | 301 ++++++++++++++++++++--------
>  server/src/api/resources.rs        |   1 +
>  ui/pwt-assets                      |   2 +-
>  ui/src/dashboard/top_entities.rs   |   5 +-
>  ui/src/guests.rs                   |   6 +-
>  ui/src/lib.rs                      |  23 +--
>  ui/src/pve/mod.rs                  |  73 ++++---
>  ui/src/pve/node/mod.rs             |  15 +-
>  ui/src/pve/tree.rs                 | 302 ++++++++++++++---------------
>  ui/src/renderer.rs                 |  66 ++++---
>  ui/src/widget/pve_node_selector.rs |  91 +++++----
>  ui/src/widget/resource_tree.rs     |  11 +-
>  12 files changed, 533 insertions(+), 363 deletions(-)


Looks good to me. Two minor things, see patch replies for details.

Tested-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>




  parent reply	other threads:[~2026-08-20 11:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-18 13:25 [PATCH datacenter-manager v2 0/9] refactor and partially fix #7371 Dominik Csapak
2026-08-18 13:25 ` [PATCH datacenter-manager v2 1/9] lib: api types: add new ResourceView type and move accessors there Dominik Csapak
2026-08-20 11:07   ` Lukas Wagner
2026-08-20 11:20     ` Dominik Csapak
2026-08-18 13:25 ` [PATCH datacenter-manager v2 2/9] lib: api types: resource: add 'node' helper to ResourceView Dominik Csapak
2026-08-18 13:25 ` [PATCH datacenter-manager v2 3/9] lib: api types: add guest specific getter " Dominik Csapak
2026-08-18 13:25 ` [PATCH datacenter-manager v2 4/9] ui: pve: factor out the pve-manager version extraction Dominik Csapak
2026-08-18 13:25 ` [PATCH datacenter-manager v2 5/9] ui: renderer: use ResourceView for rendering Dominik Csapak
2026-08-18 13:25 ` [PATCH datacenter-manager v2 6/9] ui: pve: tree: reuse `PveResource` for `PveTreeNode` Dominik Csapak
2026-08-18 13:25 ` [PATCH datacenter-manager v2 7/9] ui: pve: show ha maintenance mode for nodes Dominik Csapak
2026-08-20 11:07   ` Lukas Wagner
2026-08-20 11:20     ` Dominik Csapak
2026-08-18 13:25 ` [PATCH datacenter-manager v2 8/9] ui: pve: node selector: show maintenance badge with node name Dominik Csapak
2026-08-18 13:25 ` [PATCH datacenter-manager v2 9/9] ui: pve: node: show HA maintenance badge Dominik Csapak
2026-08-20 11:08 ` Lukas Wagner [this message]
2026-08-21 12:51 ` superseded: [PATCH datacenter-manager v2 0/9] refactor and partially fix #7371 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=DKTQ2PY41J6C.XRLQ7X7JJZZF@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=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 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