[yew-devel] [PATCH proxmox{-yew-widget-toolkit, -yew-comp} v3 0/3] use Schema to populate field properties

Hannes Laimer h.laimer at proxmox.com
Thu Oct 9 15:31:17 CEST 2025


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




More information about the yew-devel mailing list