From: Dominik Csapak <d.csapak@proxmox.com>
To: Thomas Lamprecht <t.lamprecht@proxmox.com>,
Proxmox Datacenter Manager development discussion
<pdm-devel@lists.proxmox.com>
Subject: Re: [pdm-devel] [PATCH datacenter-manager 1/5] server: add an optional 'web-url' property for remotes
Date: Thu, 16 Jan 2025 09:04:12 +0100 [thread overview]
Message-ID: <b3cd8def-30ab-4a92-b760-78a495460019@proxmox.com> (raw)
In-Reply-To: <d9ecbee7-4c0c-4da0-9769-3b81861d5990@proxmox.com>
On 1/15/25 16:12, Thomas Lamprecht wrote:
> Am 10.01.25 um 11:21 schrieb Dominik Csapak:
>> this contains two optional values to generate a URL for the UI:
>> * per_node_template: a 'per node' template to generate an url, used for
>> all places where we have node information. If not set we use the
>> base_url as fallback to generate the url.
>>
>> * base_url: An URL for reaching the remote. This is e.g. useful if there
>> is some reverse proxy or similar between the users browser and the
>> remote.
>
> Why two, and not just one? And why was this already applied without
> any comment/review from people in the discussion of that feature?
while I started out with that, I quickly noticed that in some places/situations we don't
have *any* information about the nodes at all, so we always have to have
some general base url we can fall back to.
(i tried to convey that, but just realized that it was only in the cover letter,
should have said it in the commit message too, mea culpa)
we could still have a radio button/checkbox but we always have to have the
general url field, and simply turning on and off a single field is more
clutter than the current solution.
(I'm fine with doing either though if you find that better)
Of course, if we decide to implement more functions/features/options here that
require more/different inputs, some kind of selection for that would be
necessary.
>
> The unrelated fixes would be also nice as separate patches, or at
> least upfront – as quite often stated already to all devs..
true, but to be fair, the UI cleanups were 'upfront' of the other UI patches,
just not before the server patch, so they could have been applied either way.
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
next prev parent reply other threads:[~2025-01-16 8:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-10 10:21 [pdm-devel] [PATCH yew-comp/datacenter-manager] make ui url generation configurable Dominik Csapak
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 [this message]
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=b3cd8def-30ab-4a92-b760-78a495460019@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
--cc=t.lamprecht@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