public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH datacenter-manager 00/11] improve PBS view
@ 2025-09-26  7:20 Dominik Csapak
  2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 01/11] server: api: return list of pve/pbs remotes Dominik Csapak
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Dominik Csapak @ 2025-09-26  7:20 UTC (permalink / raw)
  To: pdm-devel

This improves the existing PBS remote view to be a more usable and in
line with what we have for PVE:

* have a two column layout with a 'datastore tree' on the left and
  the selected content on the right
* Node overview panel like for PVE nodes
* datastore tabpanel with overview + content

Next steps:

The next steps would be to add more api calls on the backend for
* datastore status (list and singular)
* datastore group list
* datastore namespace list
* some datastore actions? (gc, verify?) + the status calls for these

and then implment on the UI:
* multiple namespaces (ideally directly in the tree, can be loaded in
  afterwards)
* proper status for the datastore panels
* add some place where we can see/do actions like gc,verification, etc.

We should also seriosly consider to implement the 'application/json-seq'
variant for snapshot list directly on PBS, so we can stream this without
having to buffer it in the pdm api call.

Dominik Csapak (11):
  server: api: return list of pve/pbs remotes
  server: api: pbs: add status api call
  server: pbs-client: use `json` formatter for the snapshot list
    streaming api
  pdm-client: add pbs node status helper
  ui: pve: tree: refactor rendering the tree column
  ui: add helper to compare two strings with `localeCompare`
  ui: pbs: add datastore tree
  ui: pbs: convert snapshot list to a snapshot tree
  ui: pbs: add datastore panel component
  ui: pbs: add remote overview panel
  ui: pbs: use new pbs panels/overview

 lib/pdm-api-types/src/remotes.rs |  13 ++
 lib/pdm-client/src/lib.rs        |   5 +
 server/src/api/pbs/mod.rs        |  48 +++-
 server/src/api/pve/mod.rs        |  30 ++-
 server/src/pbs_client.rs         |   7 +-
 ui/src/lib.rs                    |  19 ++
 ui/src/pbs/datastore.rs          |  73 ++++++
 ui/src/pbs/datastore/overview.rs | 260 +++++++++++++++++++++
 ui/src/pbs/mod.rs                | 232 +++++++++---------
 ui/src/pbs/remote.rs             | 291 +++++++++++++++++++++++
 ui/src/pbs/snapshot_list.rs      | 388 ++++++++++++++++++++++++-------
 ui/src/pbs/tree.rs               | 324 ++++++++++++++++++++++++++
 ui/src/pve/tree.rs               |  15 +-
 ui/src/renderer.rs               |  17 +-
 14 files changed, 1500 insertions(+), 222 deletions(-)
 create mode 100644 ui/src/pbs/datastore.rs
 create mode 100644 ui/src/pbs/datastore/overview.rs
 create mode 100644 ui/src/pbs/remote.rs
 create mode 100644 ui/src/pbs/tree.rs

-- 
2.47.3



_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-09-26 13:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-26  7:20 [pdm-devel] [PATCH datacenter-manager 00/11] improve PBS view Dominik Csapak
2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 01/11] server: api: return list of pve/pbs remotes Dominik Csapak
2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 02/11] server: api: pbs: add status api call Dominik Csapak
2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 03/11] server: pbs-client: use `json` formatter for the snapshot list streaming api Dominik Csapak
2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 04/11] pdm-client: add pbs node status helper Dominik Csapak
2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 05/11] ui: pve: tree: refactor rendering the tree column Dominik Csapak
2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 06/11] ui: add helper to compare two strings with `localeCompare` Dominik Csapak
2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 07/11] ui: pbs: add datastore tree Dominik Csapak
2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 08/11] ui: pbs: convert snapshot list to a snapshot tree Dominik Csapak
2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 09/11] ui: pbs: add datastore panel component Dominik Csapak
2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 10/11] ui: pbs: add remote overview panel Dominik Csapak
2025-09-26  7:20 ` [pdm-devel] [PATCH datacenter-manager 11/11] ui: pbs: use new pbs panels/overview Dominik Csapak
2025-09-26 13:45 ` [pdm-devel] applied: [PATCH datacenter-manager 00/11] improve PBS view Thomas Lamprecht

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