From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager v3 4/4] ui: dashboard: add resource gauges to default dashboard
Date: Thu, 2 Apr 2026 15:18:31 +0200 [thread overview]
Message-ID: <20260402132111.3221890-5-d.csapak@proxmox.com> (raw)
In-Reply-To: <20260402132111.3221890-1-d.csapak@proxmox.com>
Add a new extra second row: a gauges panel for PVE and one for PBS
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Lukas Wagner <l.wagner@proxmox.com>
---
ui/src/dashboard/view.rs | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/ui/src/dashboard/view.rs b/ui/src/dashboard/view.rs
index eb1a348e..81810664 100644
--- a/ui/src/dashboard/view.rs
+++ b/ui/src/dashboard/view.rs
@@ -596,6 +596,16 @@ const DEFAULT_DASHBOARD: &str = "
\"widget-type\": \"subscription\"
}
],
+ [
+ {
+ \"widget-type\": \"node-resource-gauge\",
+ \"remote-type\": \"pve\"
+ },
+ {
+ \"widget-type\": \"node-resource-gauge\",
+ \"remote-type\": \"pbs\"
+ }
+ ],
[
{
\"widget-type\": \"leaderboard\",
--
2.47.3
prev parent reply other threads:[~2026-04-02 13:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-02 13:18 [PATCH datacenter-manager v3 0/4] add resource gauge panels to dashboard/views 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 ` 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=20260402132111.3221890-5-d.csapak@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