[pdm-devel] [PATCH datacenter-manager/yew-comp 00/10] status row/node status cleanup + refactor

Dominik Csapak d.csapak at proxmox.com
Tue Sep 23 11:51:03 CEST 2025


While implemnting some basic PBS panels, i stumbled over our reimplemntation
of the already existing `MeterLabel` and `StatusRow` from proxmox-yew-comp.
So this series should improve on that by reusing them.

Also refactored the panel for the NodeStatus in a way that we can reuse
it for PBS as well and at the same time make it more conform to what we already
have in the 'native' PVE/PBS gui.

Note that the pdm patches depend on the yew-comp patches, so a bump is
necessary

also i based this series on top of my other two patches[0]
(but they should not interfere with each other)

0: https://lore.proxmox.com/pdm-devel/20250923094311.1612890-1-d.csapak@proxmox.com/T/#t

proxmox-yew-comp:

Dominik Csapak (8):
  status: impl conversion to classes
  status row: add option to add the icon on the right side
  meter label: make value optional
  meter label: use `StatusRow` for text row
  meter label: align the status row with baseline
  meter label: add `animated` property
  meter label: add option to align the icon on the right
  add `node_info` helper to render a consistent view of the NodeStatus

 Cargo.toml         |   3 +
 src/lib.rs         |   3 +
 src/meter_label.rs |  53 ++++++-----
 src/node_info.rs   | 222 +++++++++++++++++++++++++++++++++++++++++++++
 src/status.rs      |   8 ++
 src/status_row.rs  |  36 ++++++--
 6 files changed, 295 insertions(+), 30 deletions(-)
 create mode 100644 src/node_info.rs


proxmox-datacenter-manager:

Dominik Csapak (2):
  ui: pve: node: use `node_info` helper from yew-comp
  ui: rework status row/meter helpers

 ui/src/pve/lxc.rs           |  48 ++++++++---------
 ui/src/pve/node/overview.rs |  76 +++-----------------------
 ui/src/pve/qemu.rs          |  48 ++++++++---------
 ui/src/pve/remote.rs        | 103 +++++++++++++++++-------------------
 ui/src/pve/storage.rs       |  55 +++++++++----------
 ui/src/renderer.rs          |  63 +++++++---------------
 6 files changed, 145 insertions(+), 248 deletions(-)


Summary over all repositories:
  12 files changed, 440 insertions(+), 278 deletions(-)

-- 
Generated by git-murpp 0.8.1




More information about the pdm-devel mailing list