From: Hannes Laimer <h.laimer@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [yew-devel] [PATCH proxmox{-yew-widget-toolkit, -yew-comp} v3 0/3] use Schema to populate field properties
Date: Thu, 9 Oct 2025 15:31:17 +0200 [thread overview]
Message-ID: <20251009133120.425255-1-h.laimer@proxmox.com> (raw)
The idea is to have things like description or enum/selection items only
specified in one place.
This is preparatory for a series adding basic firewall intergration
into PDM. But this also makes sense on its own so I am sending it
separate from that.
v3, thanks @Dietmar for the pointer:
- move this into proxmox-yew-comp
- add translation for the description on the Schema
Not super sure if there speaks something agains trying to translate the
descriptions saved on the API schema. If we don't want that just skip
2/2 of the yew-comp patches.
* we need to bump the pwt dep since we need the exposed NumberTypeInfo
for the yew-comp patches
proxmox-yew-widget-toolkit:
Hannes Laimer (1):
form: expose NumberTypeInfo
src/widget/form/mod.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
proxmox-yew-comp:
Hannes Laimer (2):
schema_validation: use Schema to populate field properties of number,
check- and combobox
schema_validation: add translated description as tooltip to field and
checkbox
src/schema_validation.rs | 102 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 101 insertions(+), 1 deletion(-)
Summary over all repositories:
2 files changed, 102 insertions(+), 2 deletions(-)
--
Generated by git-murpp 0.8.1
_______________________________________________
yew-devel mailing list
yew-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel
next reply other threads:[~2025-10-09 13:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-09 13:31 Hannes Laimer [this message]
2025-10-09 13:31 ` [yew-devel] [PATCH proxmox-yew-widget-toolkit v3 1/1] form: expose NumberTypeInfo Hannes Laimer
2025-10-10 8:18 ` [yew-devel] applied: " Dietmar Maurer
2025-10-09 13:31 ` [yew-devel] [PATCH proxmox-yew-comp v3 1/2] schema_validation: use Schema to populate field properties of number, check- and combobox Hannes Laimer
2025-10-10 8:32 ` Dietmar Maurer
2025-10-09 13:31 ` [yew-devel] [PATCH proxmox-yew-comp v3 2/2] schema_validation: add translated description as tooltip to field and checkbox Hannes Laimer
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=20251009133120.425255-1-h.laimer@proxmox.com \
--to=h.laimer@proxmox.com \
--cc=yew-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