[pdm-devel] [PATCH datacenter-manager 1/4] ui: move pbs node overview panel from pbs::remote to pbs::node::overview
Lukas Wagner
l.wagner at proxmox.com
Thu Nov 20 11:36:17 CET 2025
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 <l.wagner at proxmox.com>
---
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
More information about the pdm-devel
mailing list