From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH yew-comp/datacenter-manager] make ui url generation configurable
Date: Fri, 10 Jan 2025 11:21:36 +0100 [thread overview]
Message-ID: <20250110102142.1212874-1-d.csapak@proxmox.com> (raw)
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
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
next reply other threads:[~2025-01-10 10:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-10 10:21 Dominik Csapak [this message]
2025-01-10 10:21 ` [pdm-devel] [PATCH yew-comp 1/1] form: add helpers for property strings Dominik Csapak
2025-01-10 10:21 ` [pdm-devel] [PATCH datacenter-manager 1/5] server: add an optional 'web-url' property for remotes Dominik Csapak
2025-01-15 15:12 ` Thomas Lamprecht
2025-01-16 8:04 ` Dominik Csapak
2025-01-23 8:48 ` Thomas Lamprecht
2025-01-23 13:31 ` Dominik Csapak
2025-01-10 10:21 ` [pdm-devel] [PATCH datacenter-manager 2/5] ui: remote edit: add missing key for displayfield Dominik Csapak
2025-01-10 10:21 ` [pdm-devel] [PATCH datacenter-manager 3/5] ui: remote edit: rename 'Nodes' to 'Endpoints' Dominik Csapak
2025-01-10 10:21 ` [pdm-devel] [PATCH datacenter-manager 4/5] ui: generate URLs with the option 'web-url' property Dominik Csapak
2025-01-10 10:21 ` [pdm-devel] [PATCH datacenter-manager 5/5] ui: remote edit: add 'web-url' options to the edit panel Dominik Csapak
2025-01-15 15:27 ` Thomas Lamprecht
2025-01-15 17:40 ` Dietmar Maurer
2025-01-13 14:33 ` [pdm-devel] [PATCH yew-comp/datacenter-manager] make ui url generation configurable Dominik Csapak
2025-01-15 13:12 ` [pdm-devel] applied: " Dietmar Maurer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250110102142.1212874-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox