[pdm-devel] [PATCH yew-comp/datacenter-manager] make ui url generation configurable
Dominik Csapak
d.csapak at proxmox.com
Fri Jan 10 11:21:36 CET 2025
instead of trying to generate it from only the endpoints, give users two
settings for generation:
* an url template where we generate an url with the nodename when we
have that information
* one general url that is used in situations where we don't have node
information
I opted for exposing both at the same time, since we always have
situation where we don't have any node information, and the placeholder
information should convey what it does if not set.
proxmox-yew-comp:
Dominik Csapak (1):
form: add helpers for property strings
src/form/mod.rs | 73 +++++++++++++++++++++++++++++++++++++++++++++++++
src/lib.rs | 2 ++
2 files changed, 75 insertions(+)
create mode 100644 src/form/mod.rs
proxmox-datacenter-manager:
Dominik Csapak (5):
server: add an optional 'web-url' property for remotes
ui: remote edit: add missing key for displayfield
ui: remote edit: rename 'Nodes' to 'Endpoints'
ui: generate URLs with the option 'web-url' property
ui: remote edit: add 'web-url' options to the edit panel
lib/pdm-api-types/src/remotes.rs | 23 ++++++++++
server/src/api/pve/mod.rs | 2 +
server/src/api/remotes.rs | 33 ++++++++++++++
ui/src/dashboard/top_entities.rs | 6 ++-
ui/src/lib.rs | 75 ++++++++++++++++++++------------
ui/src/pve/mod.rs | 4 +-
ui/src/pve/tree.rs | 17 ++++++--
ui/src/remotes/edit_remote.rs | 66 ++++++++++++++++++++++++----
ui/src/widget/resource_tree.rs | 21 +++++----
9 files changed, 193 insertions(+), 54 deletions(-)
--
2.39.5
More information about the pdm-devel
mailing list