From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH datacenter-manager v2 0/7] add task summary panels in dashboard
Date: Wed, 19 Feb 2025 13:28:17 +0100 [thread overview]
Message-ID: <20250219122824.2043990-1-d.csapak@proxmox.com> (raw)
This is a replacement series for my patch:
https://lore.proxmox.com/pdm-devel/20250123151012.4047891-1-d.csapak@proxmox.com/
This adds new panels to the dashboard for showing summaries of the tasks:
* one by category
* one by remote
similar to what we have in PBS.
This series might conflict a bit with Lukas approach to the task
caching on the backend, but I'm happy to rebase my patches on top of
his, when they're applied.
I did not implement a cache for the data on the backend, but this can be
done as a follow up and should not impact the UI code at all.
Also I might use that chance to implement a generic in-memory cache for
our api calls, so that we don't have to implement it for every part we
want to cache.
Also on the UI customizable filters are still missing for the filtered
list, but those will be done as a follow up by me. (IMHO it's already
very usable)
Changes from v1:
* incorporated most suggestions from Thomas
* split up patches a bit
* added new server api call
* (the UI code is very different to accomodate the necessary changes)
Dominik Csapak (7):
server: task cache: treat a limit of 0 as unbounded
server: api: remote tasks: add 'remote' filter option
server: api: add remote-tasks statistics
ui: refactor remote upid formatter
ui: tasks: add helper to summarize task categories
ui: add dialog to show filtered tasks
ui: dashboard: add task summaries
lib/pdm-api-types/src/lib.rs | 60 ++++++
server/src/api/remote_tasks.rs | 97 ++++++++-
server/src/task_cache.rs | 18 +-
ui/src/dashboard/filtered_tasks.rs | 297 ++++++++++++++++++++++++++++
ui/src/dashboard/mod.rs | 112 ++++++++++-
ui/src/dashboard/tasks.rs | 302 +++++++++++++++++++++++++++++
ui/src/remotes/tasks.rs | 19 +-
ui/src/tasks.rs | 52 ++++-
ui/src/top_nav_bar.rs | 18 +-
9 files changed, 932 insertions(+), 43 deletions(-)
create mode 100644 ui/src/dashboard/filtered_tasks.rs
create mode 100644 ui/src/dashboard/tasks.rs
--
2.39.5
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
next reply other threads:[~2025-02-19 12:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-19 12:28 Dominik Csapak [this message]
2025-02-19 12:28 ` [pdm-devel] [PATCH datacenter-manager v2 1/7] server: task cache: treat a limit of 0 as unbounded Dominik Csapak
2025-02-19 12:28 ` [pdm-devel] [PATCH datacenter-manager v2 2/7] server: api: remote tasks: add 'remote' filter option Dominik Csapak
2025-02-19 12:28 ` [pdm-devel] [PATCH datacenter-manager v2 3/7] server: api: add remote-tasks statistics Dominik Csapak
2025-02-19 12:28 ` [pdm-devel] [PATCH datacenter-manager v2 4/7] ui: refactor remote upid formatter Dominik Csapak
2025-02-19 12:28 ` [pdm-devel] [PATCH datacenter-manager v2 5/7] ui: tasks: add helper to summarize task categories Dominik Csapak
2025-02-19 12:28 ` [pdm-devel] [PATCH datacenter-manager v2 6/7] ui: add dialog to show filtered tasks Dominik Csapak
2025-02-19 12:28 ` [pdm-devel] [PATCH datacenter-manager v2 7/7] ui: dashboard: add task summaries 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=20250219122824.2043990-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 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