From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager 00/10] dashborad: add widget settings and leaderboard graph types
Date: Thu, 26 Nov 2026 15:49:13 +0100 [thread overview]
Message-ID: <20261126145410.3011676-1-d.csapak@proxmox.com> (raw)
The leaderboard 'heatmap' graph type is nice for some, but in certain
scenarios not that good to decipher, especially when one is visually
impaired or the values are simply too close together. For that, add
multiple graph types (line,area,bar) for those.
To be able to set these, add a widget options panel where the option for
each widget can be set individually.
The dashboard layout types already had some settings, but they were only
configurable either by hand or indirect (by using a differen variant
from the add menu).
This now makes the add menu a bit more sparse, since the user can simply
configure the wanted options themselves.
With that, the previously unexposed custom title option for each widget
is also exposed, giving users the possibility to give the widget other
titles if they so desire.
Some of the patches are more fixes found along the way, that could be
applied independently, e.g. 1, 5, 6, 7.
Dominik Csapak (10):
ui: dashboard: use plural for the container panel
ui: views: keep the icon for custom widget titles
ui: views: add options panel for editing widgets
ui: views: add only one menu entry per widget type
ui: dashboard: top entities: only build graph gradients on change
ui: dashboard: top entities: center data points in their interval
ui: dashboard: top entities: limit color stops by graph width
ui: dashboard: top entities: add line, area and bar graph types
ui: dashboard: top entities: show indicator line for tooltip point
docs: custom views: mention the graph types of the leaderboard widget
docs/views.rst | 3 +-
lib/pdm-api-types/src/views.rs | 45 ++
ui/src/dashboard/gauge_panel.rs | 22 +-
ui/src/dashboard/guest_panel.rs | 7 -
ui/src/dashboard/node_status_panel.rs | 8 -
ui/src/dashboard/pbs_datastores_panel.rs | 5 -
ui/src/dashboard/remote_panel.rs | 6 +-
ui/src/dashboard/resource_tree.rs | 1 -
ui/src/dashboard/sdn_zone_panel.rs | 5 +-
ui/src/dashboard/subscription_info.rs | 8 -
ui/src/dashboard/tasks.rs | 24 +-
ui/src/dashboard/top_entities.rs | 563 +++++++++++++++++++----
ui/src/dashboard/view.rs | 123 +++--
ui/src/dashboard/view/row_element.rs | 29 +-
ui/src/dashboard/view/row_view.rs | 283 +++++-------
ui/src/dashboard/view/widget_options.rs | 302 ++++++++++++
16 files changed, 1072 insertions(+), 362 deletions(-)
create mode 100644 ui/src/dashboard/view/widget_options.rs
--
2.47.3
next reply other threads:[~2026-11-26 14:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 14:49 Dominik Csapak [this message]
2026-11-26 14:49 ` [PATCH datacenter-manager 01/10] ui: dashboard: use plural for the container panel Dominik Csapak
2026-11-26 14:49 ` [PATCH datacenter-manager 02/10] ui: views: keep the icon for custom widget titles Dominik Csapak
2026-11-26 14:49 ` [PATCH datacenter-manager 03/10] ui: views: add options panel for editing widgets Dominik Csapak
2026-11-26 14:49 ` [PATCH datacenter-manager 04/10] ui: views: add only one menu entry per widget type Dominik Csapak
2026-11-26 14:49 ` [PATCH datacenter-manager 05/10] ui: dashboard: top entities: only build graph gradients on change Dominik Csapak
2026-11-26 14:49 ` [PATCH datacenter-manager 06/10] ui: dashboard: top entities: center data points in their interval Dominik Csapak
2026-11-26 14:49 ` [PATCH datacenter-manager 07/10] ui: dashboard: top entities: limit color stops by graph width Dominik Csapak
2026-11-26 14:49 ` [PATCH datacenter-manager 08/10] ui: dashboard: top entities: add line, area and bar graph types Dominik Csapak
2026-11-26 14:49 ` [PATCH datacenter-manager 09/10] ui: dashboard: top entities: show indicator line for tooltip point Dominik Csapak
2026-11-26 14:49 ` [PATCH datacenter-manager 10/10] docs: custom views: mention the graph types of the leaderboard widget 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=20261126145410.3011676-1-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.