public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: Proxmox Datacenter Manager development discussion
	<pdm-devel@lists.proxmox.com>,
	Shannon Sterz <s.sterz@proxmox.com>
Subject: Re: [pdm-devel] [PATCH datacenter-manager/proxmox/yew-comp 0/6] add node status panel to proxmox datacenter manager
Date: Mon, 3 Nov 2025 14:15:30 +0100	[thread overview]
Message-ID: <09ee9512-de05-4a49-8b36-7fd5eef2dd72@proxmox.com> (raw)
In-Reply-To: <20251028164435.576642-1-s.sterz@proxmox.com>

One high level comment:

Since it is a panel with tools, etc. it looks a bit weird
in the tab panel due to it being just one element

It'll look better when we add the RRD graphs of the node
(when we have that), since then it looks more like the other
places where we have panels.

Other than that and the few nits and one issue i commented,
consider this series:

Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>

On 10/28/25 5:45 PM, Shannon Sterz wrote:
> this series adds a node status panel to the administration menu of
> proxmox datacenter manager. it allows for getting a rough overview of
> system load as well as accessing the node's fingerprint and rebooting
> and powering off the node.
> 
> the fist patch moves the api endpoints from proxmox-backup server to
> their own proxmox-rs crate. the next two commits extend yew-comp to
> allow implementing a node status panel of the newly extracted api
> endpoints return types.
> 
> the next three commits first add the new api endpoints to proxmox
> datacenter manager, add the ui panel to the Administration menu and
> remove a suproflous macro.
> 
> the last two commits are sent as RFC, as i am not sure whether we want
> to have the panel in that menu or should maybe treat it as a widget for
> the new view feature. while the last commit is just a clean up
> suggestion i came accross while implementing this.
> 
> proxmox:
> 
> Shannon Sterz (1):
>    node-status: add node status crate
> 
>   Cargo.toml                               |   1 +
>   proxmox-node-status/Cargo.toml           |  37 +++++
>   proxmox-node-status/debian/changelog     |   5 +
>   proxmox-node-status/debian/control       |  65 ++++++++
>   proxmox-node-status/debian/copyright     |  18 +++
>   proxmox-node-status/debian/debcargo.toml |   7 +
>   proxmox-node-status/src/api.rs           | 184 +++++++++++++++++++++++
>   proxmox-node-status/src/lib.rs           |  11 ++
>   proxmox-node-status/src/types.rs         | 184 +++++++++++++++++++++++
>   9 files changed, 512 insertions(+)
>   create mode 100644 proxmox-node-status/Cargo.toml
>   create mode 100644 proxmox-node-status/debian/changelog
>   create mode 100644 proxmox-node-status/debian/control
>   create mode 100644 proxmox-node-status/debian/copyright
>   create mode 100644 proxmox-node-status/debian/debcargo.toml
>   create mode 100644 proxmox-node-status/src/api.rs
>   create mode 100644 proxmox-node-status/src/lib.rs
>   create mode 100644 proxmox-node-status/src/types.rs
> 
> 
> proxmox-yew-comp:
> 
> Shannon Sterz (2):
>    node info: extend NodeStatus enum to include NodeStatus from
>      proxmox-rs
>    node status panel: add a panel that show the current status of a node
> 
>   Cargo.toml               |   1 +
>   src/lib.rs               |   3 +
>   src/node_info.rs         |  38 ++++++
>   src/node_status_panel.rs | 244 +++++++++++++++++++++++++++++++++++++++
>   4 files changed, 286 insertions(+)
>   create mode 100644 src/node_status_panel.rs
> 
> 
> proxmox-datacenter-manager:
> 
> Shannon Sterz (3):
>    api-types/api: add endpoints for querying the node's status
>    ui: add NodeStatusPanel to the administration menu
>    nodes: remove unnecessary rustfmt::skip macro
> 
>   Cargo.toml                                    |  2 ++
>   lib/pdm-api-types/src/acl.rs                  |  2 ++
>   server/Cargo.toml                             |  1 +
>   server/src/api/nodes/mod.rs                   |  3 ++-
>   server/src/api/nodes/status.rs                | 18 ++++++++++++++++++
>   server/src/bin/proxmox-datacenter-api/main.rs |  2 ++
>   ui/src/administration/mod.rs                  | 15 ++++++++++++++-
>   7 files changed, 41 insertions(+), 2 deletions(-)
>   create mode 100644 server/src/api/nodes/status.rs
> 
> 
> Summary over all repositories:
>    20 files changed, 839 insertions(+), 2 deletions(-)
> 
> --
> Generated by git-murpp 0.8.1
> 
> 
> _______________________________________________
> pdm-devel mailing list
> pdm-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
> 
> 



_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


      parent reply	other threads:[~2025-11-03 13:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-28 16:44 Shannon Sterz
2025-10-28 16:44 ` [pdm-devel] [PATCH proxmox 1/1] node-status: add node status crate Shannon Sterz
2025-11-03 12:50   ` Dominik Csapak
2025-10-28 16:44 ` [pdm-devel] [PATCH yew-comp 1/2] node info: extend NodeStatus enum to include NodeStatus from proxmox-rs Shannon Sterz
2025-11-03 12:52   ` Dominik Csapak
2025-10-28 16:44 ` [pdm-devel] [PATCH yew-comp 2/2] node status panel: add a panel that show the current status of a node Shannon Sterz
2025-10-28 16:44 ` [pdm-devel] [PATCH datacenter-manager 1/3] api-types/api: add endpoints for querying the node's status Shannon Sterz
2025-11-03 13:11   ` Dominik Csapak
2025-10-28 16:44 ` [pdm-devel] [RFC PATCH datacenter-manager 2/3] ui: add NodeStatusPanel to the administration menu Shannon Sterz
2025-10-28 16:44 ` [pdm-devel] [RFC PATCH datacenter-manager 3/3] nodes: remove unnecessary rustfmt::skip macro Shannon Sterz
2025-11-03 13:15 ` Dominik Csapak [this message]

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=09ee9512-de05-4a49-8b36-7fd5eef2dd72@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    --cc=s.sterz@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