public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: superseded: [PATCH datacenter-manager v3 0/4] add resource gauge panels to dashboard/views
Date: Fri, 10 Apr 2026 09:59:50 +0200	[thread overview]
Message-ID: <f449a315-73cc-4413-9fdc-5f8a1380b1b7@proxmox.com> (raw)
In-Reply-To: <20260402132111.3221890-1-d.csapak@proxmox.com>

superseded by v4: 
https://lore.proxmox.com/pdm-devel/20260410075827.820438-1-d.csapak@proxmox.com/

On 4/2/26 3:20 PM, Dominik Csapak wrote:
> This uses the new pie charts[0] to add gauge panels for resources to
> the dashboards/views. Either combined cpu/memory/storage or
> indidivually, for pve/pbs or combined counts.
> 
> for this we have to sum the data up in the backend.
> 
> I also added these to the default dashboard (since it's data from an api
> call we already query) but put that in a separate patch so we can easily
> decide to not apply that. (not sure if we want to change the default
> dashboard)
> 
> I squashed in Lukas changes with a slight modification to reduce
> the line-count a bit (conf vs panel_config variable name). I added
> a 'co-developed-by' trailer.
> 
> NOTE: the pwt patches [0] have to be applied and the package
> has to be bumped first.
> 
> changes from v2:
> * better comments
> * use longer name instead of PVE/PBS
> * squashed in Lukas changes for the PanelConfig
> 
> changes from v1:
> * use wider angle for the charts
> * remove decimal precision in chart
> * move 'title' to bottom with the other text
> * reformat the cpu text a bit for clarity
> * add a 'MemoryStatus' struct (same fields as StorageStatus but with
>    different description)
> 
> 0: https://lore.proxmox.com/yew-devel/20260320160816.4113364-1-d.csapak@proxmox.com/
> 
> Dominik Csapak (4):
>    api: return global cpu/memory/storage statistics
>    ui: css: use mask for svg icons
>    ui: dashboard: add new gauge panels widget type
>    ui: dashboard: add resource gauges to default dashboard
> 
>   lib/pdm-api-types/src/lib.rs      |  14 +-
>   lib/pdm-api-types/src/resource.rs |  27 ++++
>   lib/pdm-api-types/src/views.rs    |  17 +++
>   server/src/api/resources.rs       |  65 +++++++--
>   ui/css/pdm.scss                   |  35 ++---
>   ui/src/dashboard/gauge_panel.rs   | 210 ++++++++++++++++++++++++++++++
>   ui/src/dashboard/mod.rs           |   3 +
>   ui/src/dashboard/view.rs          |  19 ++-
>   ui/src/dashboard/view/row_view.rs |  45 ++++++-
>   9 files changed, 401 insertions(+), 34 deletions(-)
>   create mode 100644 ui/src/dashboard/gauge_panel.rs
> 





      parent reply	other threads:[~2026-04-10  7:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-02 13:18 Dominik Csapak
2026-04-02 13:18 ` [PATCH datacenter-manager v3 1/4] api: return global cpu/memory/storage statistics Dominik Csapak
2026-04-02 13:18 ` [PATCH datacenter-manager v3 2/4] ui: css: use mask for svg icons Dominik Csapak
2026-04-02 13:18 ` [PATCH datacenter-manager v3 3/4] ui: dashboard: add new gauge panels widget type Dominik Csapak
2026-04-02 13:18 ` [PATCH datacenter-manager v3 4/4] ui: dashboard: add resource gauges to default dashboard Dominik Csapak
2026-04-10  7:59 ` 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=f449a315-73cc-4413-9fdc-5f8a1380b1b7@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 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