all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH datacenter-manager 00/15] prepare ui fore customizable views
@ 2025-10-21 14:03 Dominik Csapak
  2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 01/15] ui: dashboard: refactor guest panel creation to its own module Dominik Csapak
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Dominik Csapak @ 2025-10-21 14:03 UTC (permalink / raw)
  To: pdm-devel

This is the first step to have customizable views in the PDM ui.

Patches 1-11 are refactors mostly and should not change behavior.

Patch 12 is an improvement I noticed while doing this series, I can
send it upfront if wanted.

Patches 13-15 are RFCs because:
* The `LoadResult` struct should probably live in either pwt or
  yew-comp, I think Dietmar has already something local so I did not
  want to interfere there. (We can switch to the one there if it's
  committed and bumped)

* Not super sure if this kind of structure is the one we desire.
  The View is (for now) only a single layout (Row) that provides
  the same behavior as the current layout. The whole logic is in the
  View and every bit we want to add has to be handled there.

Dominik Csapak (15):
  ui: dashboard: refactor guest panel creation to its own module
  ui: dashboard: refactor creating the node panel into its own module
  ui: dashboard: refactor remote panel creation into its own module
  ui: dashboard: remote panel: make wizard menu optional
  ui: dashboard: refactor sdn panel creation into its own module
  ui: dashboard: refactor task summary panel creation to its own module
  ui: dashboard: refactor subscription panel creation to its own module
  ui: dashboard: refactor top entities panel creation to its own module
  ui: dashboard: refactor DashboardConfig editing/constants to their
    module
  ui: dashboard: factor out task parameter calculation
  ui: dashboard: remove unused remote list
  ui: dashboard: status row: make loading less jarring
  ui: introduce `LoadResult` helper type
  ui: dashboard: implement 'View'
  ui: dashboard: use 'View' instead of the Dashboard

 ui/src/dashboard/guest_panel.rs         |  75 ++-
 ui/src/dashboard/mod.rs                 | 784 +-----------------------
 ui/src/dashboard/node_panel.rs          | 150 +++++
 ui/src/dashboard/refresh_config_edit.rs | 107 ++++
 ui/src/dashboard/remote_panel.rs        |  51 +-
 ui/src/dashboard/sdn_zone_panel.rs      |  15 +-
 ui/src/dashboard/status_row.rs          |  11 +-
 ui/src/dashboard/subscription_info.rs   |  54 +-
 ui/src/dashboard/tasks.rs               |  38 ++
 ui/src/dashboard/top_entities.rs        |  45 +-
 ui/src/dashboard/types.rs               |  78 +++
 ui/src/dashboard/view.rs                | 515 ++++++++++++++++
 ui/src/lib.rs                           |   5 +-
 ui/src/load_result.rs                   |  42 ++
 ui/src/main_menu.rs                     |   5 +-
 ui/src/pbs/remote.rs                    |  30 +-
 ui/src/pve/lxc.rs                       |  28 +-
 ui/src/pve/mod.rs                       |   4 +-
 ui/src/pve/node/overview.rs             |  29 +-
 ui/src/pve/qemu.rs                      |  28 +-
 ui/src/pve/storage.rs                   |  29 +-
 21 files changed, 1199 insertions(+), 924 deletions(-)
 create mode 100644 ui/src/dashboard/node_panel.rs
 create mode 100644 ui/src/dashboard/refresh_config_edit.rs
 create mode 100644 ui/src/dashboard/types.rs
 create mode 100644 ui/src/dashboard/view.rs
 create mode 100644 ui/src/load_result.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] 17+ messages in thread

end of thread, other threads:[~2025-10-23  8:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-21 14:03 [pdm-devel] [PATCH datacenter-manager 00/15] prepare ui fore customizable views Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 01/15] ui: dashboard: refactor guest panel creation to its own module Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 02/15] ui: dashboard: refactor creating the node panel into " Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 03/15] ui: dashboard: refactor remote panel creation " Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 04/15] ui: dashboard: remote panel: make wizard menu optional Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 05/15] ui: dashboard: refactor sdn panel creation into its own module Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 06/15] ui: dashboard: refactor task summary panel creation to " Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 07/15] ui: dashboard: refactor subscription " Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 08/15] ui: dashboard: refactor top entities " Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 09/15] ui: dashboard: refactor DashboardConfig editing/constants to their module Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 10/15] ui: dashboard: factor out task parameter calculation Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 11/15] ui: dashboard: remove unused remote list Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 12/15] ui: dashboard: status row: make loading less jarring Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 13/15] ui: introduce `LoadResult` helper type Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 14/15] ui: dashboard: implement 'View' Dominik Csapak
2025-10-21 14:03 ` [pdm-devel] [PATCH datacenter-manager 15/15] ui: dashboard: use 'View' instead of the Dashboard Dominik Csapak
2025-10-23  8:33 ` [pdm-devel] superseded: [PATCH datacenter-manager 00/15] prepare ui fore customizable views Dominik Csapak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal