From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 46B571FF184 for ; Thu, 20 Nov 2025 11:36:51 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id AB53F325E; Thu, 20 Nov 2025 11:36:57 +0100 (CET) From: Lukas Wagner To: pdm-devel@lists.proxmox.com Date: Thu, 20 Nov 2025 11:36:17 +0100 Message-ID: <20251120103620.128741-2-l.wagner@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251120103620.128741-1-l.wagner@proxmox.com> References: <20251120103620.128741-1-l.wagner@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1763634953101 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.030 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pdm-devel] [PATCH datacenter-manager 1/4] ui: move pbs node overview panel from pbs::remote to pbs::node::overview X-BeenThere: pdm-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Datacenter Manager development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" So that the structure as somewhat symmetric to how the code is structure for PVE. The code itself is also very similar to the one PVE one, in the future we should check if we can share the implementation between both - might not be trivial, since PVE and PBS use different types for e.g. metrics. Signed-off-by: Lukas Wagner --- ui/src/pbs/mod.rs | 4 ++-- ui/src/pbs/node/mod.rs | 1 + ui/src/pbs/{remote.rs => node/overview.rs} | 0 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 ui/src/pbs/node/mod.rs rename ui/src/pbs/{remote.rs => node/overview.rs} (100%) diff --git a/ui/src/pbs/mod.rs b/ui/src/pbs/mod.rs index 04243e22..6d71bafc 100644 --- a/ui/src/pbs/mod.rs +++ b/ui/src/pbs/mod.rs @@ -23,12 +23,12 @@ pub use datastore::DatastorePanel; mod namespace_selector; -mod remote; +mod node; +use node::overview::RemoteOverviewPanel; mod snapshot_list; pub use snapshot_list::SnapshotList; -use crate::pbs::remote::RemoteOverviewPanel; use crate::pbs::tree::PbsTree; use crate::{get_deep_url, pdm_client}; diff --git a/ui/src/pbs/node/mod.rs b/ui/src/pbs/node/mod.rs new file mode 100644 index 00000000..8468a02a --- /dev/null +++ b/ui/src/pbs/node/mod.rs @@ -0,0 +1 @@ +pub(crate) mod overview; diff --git a/ui/src/pbs/remote.rs b/ui/src/pbs/node/overview.rs similarity index 100% rename from ui/src/pbs/remote.rs rename to ui/src/pbs/node/overview.rs -- 2.47.3 _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel