public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [yew-devel] [PATCH proxmox{-yew-widget-toolkit, -yew-comp} v3 0/3] use Schema to populate field properties
@ 2025-10-09 13:31 Hannes Laimer
  2025-10-09 13:31 ` [yew-devel] [PATCH proxmox-yew-widget-toolkit v3 1/1] form: expose NumberTypeInfo Hannes Laimer
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Hannes Laimer @ 2025-10-09 13:31 UTC (permalink / raw)
  To: yew-devel

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-10-10 13:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-09 13:31 [yew-devel] [PATCH proxmox{-yew-widget-toolkit, -yew-comp} v3 0/3] use Schema to populate field properties Hannes Laimer
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-10 10:46     ` Thomas Lamprecht
2025-10-10 12:43     ` Hannes Laimer
2025-10-10 13:51       ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal