From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager] ui: pbs: add tasks to node tab panel
Date: Mon, 9 Mar 2026 15:37:56 +0100 [thread overview]
Message-ID: <20260309143827.3017628-1-d.csapak@proxmox.com> (raw)
Similar to PVE, but since we don't have a 'Datacenter' tab panel, simply
use the 'node' one, since there can only be one for PBS anyway.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
ui/src/pbs/node/mod.rs | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/ui/src/pbs/node/mod.rs b/ui/src/pbs/node/mod.rs
index abb1f6a6..6d2f46b8 100644
--- a/ui/src/pbs/node/mod.rs
+++ b/ui/src/pbs/node/mod.rs
@@ -17,7 +17,7 @@ pub(crate) mod overview;
use overview::PbsNodeOverviewPanel;
-use crate::get_deep_url_low_level;
+use crate::{get_deep_url_low_level, remotes::RemoteTaskList};
#[derive(Clone, Debug, Eq, PartialEq, Properties)]
pub struct PbsNodePanel {
@@ -78,6 +78,16 @@ impl yew::Component for PbsNodePanelComp {
move |_| PbsNodeOverviewPanel::new(remote.clone()).into()
},
)
+ .with_item_builder(
+ TabBarItem::new()
+ .key("tasks_view")
+ .label(tr!("Tasks"))
+ .icon_class("fa fa-list"),
+ {
+ let remote = props.remote.clone();
+ move |_| RemoteTaskList::new().remote(remote.clone()).into()
+ },
+ )
.with_item_builder(
TabBarItem::new()
.key("update_view")
--
2.47.3
reply other threads:[~2026-03-09 14:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260309143827.3017628-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